user program (still many #PF)

This commit is contained in:
2026-04-02 17:05:51 +02:00
parent 11a9dd4adb
commit aa30d9c6b5
11 changed files with 107 additions and 16 deletions
+7 -6
View File
@@ -124,15 +124,16 @@ void kmain()
if (!boot_ctx.module) {
panic(NULL, "could not load 'hello' executable :(");
}
if (boot_ctx.module->module_count == 1) {
file = boot_ctx.module->modules[0];
DEBUG("file: addr=%p size=%u", file->address, file->size);
}
}
printf(PEPPEROS_SPLASH);
init.all = true;
if (boot_ctx.module->module_count == 1) {
file = boot_ctx.module->modules[0];
DEBUG("file: addr=%p size=%u", file->address, file->size);
process_create_user(file);
}
idle();
}