mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-12 15:59:20 +00:00
Support i386
This commit is contained in:
15
Architecture/i386/runtime/crt1.c
Normal file
15
Architecture/i386/runtime/crt1.c
Normal file
@ -0,0 +1,15 @@
|
||||
#include <types.h>
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
int Entry(void *Info);
|
||||
|
||||
void _start(void *Raw)
|
||||
{
|
||||
UNUSED(Raw);
|
||||
error("ERROR! INVALID BOOT PROTOCOL!");
|
||||
while (1)
|
||||
asmv("hlt");
|
||||
Entry(NULL);
|
||||
return;
|
||||
}
|
Reference in New Issue
Block a user