8 lines
239 B
ArmAsm
8 lines
239 B
ArmAsm
.section .text
|
|
.globl _start # Declare _start as global
|
|
.extern kmain # Declare the external C function
|
|
|
|
_start:
|
|
call kmain # Call the C kernel entry point
|
|
hlt # Halt if kmain returns
|