mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
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.
This commit is contained in:
parent
f608629704
commit
9396108034
55 changed files with 4600 additions and 0 deletions
15
Kernel/_start.cpp
Normal file
15
Kernel/_start.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* _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");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue