Make the stage2 init task sleep dreamily when finished.

Something is off about scheduling, I don't think the kernel is handing
out all the available time to processes that are available to run.
This commit is contained in:
Andreas Kling 2018-10-25 12:39:59 +02:00
commit 571dc8234f
Notes: sideshowbarker 2024-07-19 18:38:52 +09:00

View file

@ -165,6 +165,7 @@ static void init_stage2()
#endif #endif
for (;;) { for (;;) {
sleep(3600 * TICKS_PER_SECOND);
asm("hlt"); asm("hlt");
} }
} }