acadia/zion/usr/crt0.s
Drew Galbraith aefb4f082b Add a kernel ELF module and load it in a new process.
Don't yet jump to userspace.
2023-05-29 00:32:54 -07:00

10 lines
88 B
ArmAsm

.text
.global _start
_start:
call main
call _exit
_exit:
mov $1, %rdi
syscall