mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
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 :(");
|
|
}
|
|
|