Differences From Artifact [4c49f79d26]:
- File kcore/exit.fn.x86.lin.64.s — part of check-in [e794c5edef] at 2019-06-29 09:31:50 on branch trunk — add a bunch of code, port the header mechanism to gpp; add a fuckton of definitions and compatibility header code; notably, add core function kstop and x86.lin.{32,64} impl. update docs accordingly (user: lexi, size: 223) [annotate] [blame] [check-ins using]
To Artifact [c7202f2e83]:
- File kcore/exit.fn.x86.lin.64.s — part of check-in [37b0cfaa06] at 2019-08-18 17:56:41 on branch trunk — revamp arch/ makefile, add generic syscall fn on posix, rewrite kiosend() to use k_platform_syscall instead of k_platform_write (user: lexi, size: 232) [annotate] [blame] [check-ins using]
- File legacy/exit.fn.x86.lin.64.s — part of check-in [f9bf0d662b] at 2019-08-20 02:03:37 on branch trunk — partially unfuck x86-32, correct major error in syscall ABI (user: lexi, size: 232) [annotate] [blame] [check-ins using]
1 1 bits 64 2 2 %include "../arch/x86.lin.64.s" 3 3 %include "../arch/x86.cdecl.64.s" 4 4 ; vim: ft=nasm 5 5 6 -global kio_posix_exit 6 +global kio_posix_exit:function 7 7 kio_posix_exit: 8 8 mov sys.reg.1, ccall.reg.0 ;nop - rdi → rdi 9 9 mov sys.reg.0, sys.exit 10 10 sys.call 11 11 ; no return