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
parent fdc782c1d1
commit 571dc8234f

View file

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