vbos/usr.bin/test1/start.S
2023-11-15 15:13:53 -05:00

15 lines
222 B
ArmAsm

/* SPDX-License-Identifier: GPL-2.0-only */
/* test1/start.S
*
* Test the basic functionality of the kernel loader
*/
sys_exit = 60
.global _start
_start:
call main
movq %rax, %rdi
movq sys_exit, %rax
int $0x80