summaryrefslogtreecommitdiff
path: root/Kernel/_start.cpp
blob: 4820b3c611fe41991a38f0c12695c3fd81d9ad8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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");
}