clean up and standardize types across the codebase, unify atomic operations, improve UTF-8 handling throughout the system, remove obsolete input and named queue interfaces, redesign process preparation and creation, tighten IPC and service boundaries, improve error handling and reliability, minor documentation cleanup, fix doom surfaces, fix panic in ini parsing.
This commit is contained in:
1 parent
899225f551
commit
c0ad63c27f
226 files changed
+6562
-4147
No files matched your search
@@ -41,7 +41,7 @@ static void fail(const char* msg) {
|
||||
exit_now(1);
|
||||
}
|
||||
|
||||
static void fail_status(const char* what, uint32_t status) {
|
||||
static void fail_status(const char* what, KSTATUS status) {
|
||||
print("pcache_mmap_read_reuse: ");
|
||||
print(what);
|
||||
print(" failed status=");
|
||||
@@ -55,7 +55,7 @@ static uint32_t query_cache(SYS_FILE_CACHE_STATS* out) {
|
||||
return SysQueryKernelStats(SYS_KERNEL_STATS_FILE_CACHE, out, sizeof(*out), 0);
|
||||
}
|
||||
|
||||
static uint32_t open_test_file(uint32_t* out, const char** pathOut) {
|
||||
static KSTATUS open_test_file(uint32_t* out, const char** pathOut) {
|
||||
static const char* paths[] = {
|
||||
"pcache_mmap_read_reuse.exe",
|
||||
"/SystemRoot/apps/pcache_mmap_read_reuse.exe",
|
||||
@@ -67,7 +67,7 @@ static uint32_t open_test_file(uint32_t* out, const char** pathOut) {
|
||||
|
||||
for (size_t i = 0; i < sizeof(paths) / sizeof(paths[0]); ++i) {
|
||||
uint32_t h = 0;
|
||||
uint32_t s = NtlOpenFile(SysSvFromCstr(paths[i]),
|
||||
KSTATUS s = NtlOpenFile(SysSvFromCstr(paths[i]),
|
||||
SYS_FILE_ACCESS_READ | SYS_FILE_ACCESS_QUERY,
|
||||
SYS_FILE_OPEN_EXISTING,
|
||||
SYS_FILE_FLAG_NONE,
|
||||
|
||||
Reference in new issue
Block a user