bond/OScript/multiboot1/entry.c
HyperAssembler b6c999753f 1. Refactored kernel calling convention.
2. Linker script for kernel.
2. Updated mkiso script to link C with nasm and build a runable multiboot1 iso.
2015-01-25 02:26:52 -08:00

11 lines
236 B
C

#define HYPKERNEL32 __attribute__((__cdecl__))
extern void* kernel_stack;
extern void print_str(char* dst);
void HYPKERNEL32 hk_main(void* multiboot_info)
{
char* str = "Kernel is here";
print_str(str);
fuck:
goto fuck;
}