30 lines
957 B
C
30 lines
957 B
C
//----------------------------------------------------------------------------//
|
|
// GNU GPL OS/K //
|
|
// //
|
|
// Authors: spectral` //
|
|
// NeoX //
|
|
// //
|
|
// Desc: Kernel entry point //
|
|
//----------------------------------------------------------------------------//
|
|
|
|
#include <kaleid.h>
|
|
|
|
//
|
|
// Entry point of kaleid-kernel.elf
|
|
//
|
|
noreturn void StartKern(void)
|
|
{
|
|
// we're not ready to deal with interrupts
|
|
DisableIRQs();
|
|
|
|
// booting!
|
|
SetKernState(KSTATE_INIT);
|
|
|
|
// kernel terminals
|
|
InitTerms();
|
|
|
|
// we're out
|
|
StartPanic("Goodbye World :(");
|
|
}
|
|
|