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