mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
Add a sys$exit and make init_stage2 call it when finished.
This commit is contained in:
parent
79ffdb7205
commit
3a3c57357c
5 changed files with 35 additions and 3 deletions
|
@ -192,6 +192,11 @@ static void init_stage2()
|
|||
|
||||
kprintf("init stage2 is done!\n");
|
||||
|
||||
DO_SYSCALL_A1(Syscall::PosixExit, 413);
|
||||
|
||||
kprintf("uh, we're still going after calling sys$exit...\n");
|
||||
HANG;
|
||||
|
||||
for (;;) {
|
||||
asm("hlt");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue