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
@@ -19,7 +19,7 @@ static void print(const char* s) {
|
||||
// Tests are usually launched from /apps, so a bare "system/init.exe"
|
||||
// resolves as /apps/system/init.exe and fails. Prefer the test binary itself,
|
||||
// then fall back to canonical SystemRoot or other relative paths.
|
||||
static uint32_t open_test_file(uint32_t* handleOut, const char** pathOut) {
|
||||
static KSTATUS open_test_file(uint32_t* handleOut, const char** pathOut) {
|
||||
static const char* paths[] = {
|
||||
"async_cancel.exe",
|
||||
"/SystemRoot/apps/async_cancel.exe",
|
||||
@@ -29,7 +29,7 @@ static uint32_t open_test_file(uint32_t* handleOut, 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,
|
||||
@@ -117,7 +117,7 @@ int main(void) {
|
||||
SysExitProcess(1);
|
||||
}
|
||||
|
||||
uint32_t cs = SysCancelIo(request);
|
||||
KSTATUS cs = SysCancelIo(request);
|
||||
print("async_cancel: cancel returned "); print_u64(cs); print("\n");
|
||||
|
||||
while (iosb.Status == NTLSTATUS_PENDING) {
|
||||
|
||||
Reference in new issue
Block a user