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:
maksw committed 2026-10-12 18:17:43 +02:00
1 parent 899225f551
commit c0ad63c27f
226 files changed
+6562 -4147

No files matched your search

@@ -16,7 +16,7 @@ typedef struct WORKER_STATE {
uint32_t Surface;
uint8_t* Base;
uint32_t Pitch;
uint32_t Status;
KSTATUS Status;
uint32_t IterationsDone;
} WORKER_STATE;
@@ -53,7 +53,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("surface_multithread_commit: ");
print(what);
print(" failed status=");
@@ -79,7 +79,7 @@ static void worker_main(uintptr_t arg) {
}
DISPLAY_RECT rect = { 0, (int32_t)y0, (int32_t)SURFACE_W, (int32_t)h };
uint32_t s = SysCommitSurface(st->Surface, &rect, 1, 0);
KSTATUS s = SysCommitSurface(st->Surface, &rect, 1, 0);
if (s != NTLSTATUS_SUCCESS) {
st->Status = s;
SysExitThread(1);
@@ -104,7 +104,7 @@ int main(void) {
req.Format = SYS_SURFACE_FORMAT_XRGB8888;
req.Flags = SYS_SURFACE_FLAG_NONE;
req.HandleOut = &surface;
uint32_t s = SysCreateSurface(&req);
KSTATUS s = SysCreateSurface(&req);
if (s != NTLSTATUS_SUCCESS) fail_status("create surface", s);
void* base = 0;