mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:57:36 +00:00
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:
parent
fdc782c1d1
commit
571dc8234f
1 changed files with 1 additions and 0 deletions
|
@ -165,6 +165,7 @@ static void init_stage2()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
sleep(3600 * TICKS_PER_SECOND);
|
||||||
asm("hlt");
|
asm("hlt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue