[main] save some cycles on the physical hardware

This commit is contained in:
Kevin Lange 2011-03-24 20:34:37 -05:00
parent a84b5003f4
commit 562a5d219f

View File

@ -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();