[main] save some cycles on the physical hardware
This commit is contained in:
parent
a84b5003f4
commit
562a5d219f
@ -160,6 +160,7 @@ int main(struct multiboot *mboot_ptr, uint32_t mboot_mag, uintptr_t esp)
|
||||
kprintf("[%d:%d:%d]", hours, minutes, seconds);
|
||||
restore_csr();
|
||||
__asm__ __volatile__ ("sti");
|
||||
__asm__ __volatile__ ("hlt");
|
||||
}
|
||||
} else {
|
||||
start_shell();
|
||||
|
Loading…
Reference in New Issue
Block a user