Fix braces + init_paging args
This commit is contained in:
@@ -78,8 +78,7 @@ void pit_init()
|
||||
void timer_wait(uint64_t wait_ticks)
|
||||
{
|
||||
uint64_t then = ticks + wait_ticks;
|
||||
while (ticks < then)
|
||||
{
|
||||
while (ticks < then) {
|
||||
asm("hlt");
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user