kernel_entry.asm 236 B

1234567
  1. global _start;
  2. [bits 32]
  3. _start:
  4. [extern kernel_main] ; Define calling point. Must have same name as kernel.c 'main' function
  5. call kernel_main ; Calls the C function. The linker will know where it is placed in memory
  6. jmp $