ladybird/Kernel/_start.cpp
Andreas Kling 9396108034 Import the "gerbert" kernel I worked on earlier this year.
It's a lot crappier than I remembered it. It's gonna need a lot of work.
2018-10-16 11:02:00 +02:00

16 lines
242 B
C++

/*
* _start()
*
* This is where we land immediately after leaving the bootloader.
*
* ATM it's really shaky so don't put code before it ^_^
*/
extern void init();
extern "C" void _start()
{
init();
asm volatile("cli; hlt");
}