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
@@ -40,7 +40,7 @@ static void exit_now(int code) {
|
||||
SysExitProcess(code);
|
||||
}
|
||||
|
||||
static void fail_status(const char* what, uint32_t status) {
|
||||
static void fail_status(const char* what, KSTATUS status) {
|
||||
print("mmap_smoke: ");
|
||||
print(what);
|
||||
print(" failed status=");
|
||||
@@ -56,7 +56,7 @@ static void fail_msg(const char* msg) {
|
||||
exit_now(1);
|
||||
}
|
||||
|
||||
static uint32_t open_first_existing(uint32_t* fileOut, const char** pathOut) {
|
||||
static KSTATUS open_first_existing(uint32_t* fileOut, const char** pathOut) {
|
||||
static const char* candidates[] = {
|
||||
"mmap_smoke.exe",
|
||||
"/SystemRoot/apps/mmap_smoke.exe",
|
||||
@@ -67,7 +67,7 @@ static uint32_t open_first_existing(uint32_t* fileOut, const char** pathOut) {
|
||||
|
||||
for (size_t i = 0; i < sizeof(candidates) / sizeof(candidates[0]); ++i) {
|
||||
uint32_t file = 0;
|
||||
uint32_t s = NtlOpenFile(SysSvFromCstr(candidates[i]),
|
||||
KSTATUS s = NtlOpenFile(SysSvFromCstr(candidates[i]),
|
||||
SYS_FILE_ACCESS_READ | SYS_FILE_ACCESS_QUERY,
|
||||
SYS_FILE_OPEN_EXISTING,
|
||||
SYS_FILE_FLAG_NONE,
|
||||
|
||||
Reference in new issue
Block a user