libk  boot.rt.x86.lin.64.s at [06e32bd3b4]

File kcore/boot.rt.x86.lin.64.s artifact c4c48f7422 part of check-in 06e32bd3b4


; vim: ft=nasm
bits 64
%include "../arch/posix/x86.lin.64.s"
global _start:function
extern _boot
extern entry

_start:
	mov rbp, rsp
	mov rdi, [rbp + 0] ; argc
	lea rsi, [rbp + 8] ; argv

	call _boot

	mov sys.reg.1, sys.reg.ret
	mov sys.reg.0, sys.exit
	sys.call