Differences From Artifact [27d79c3e63]:
- File kcore/syscall.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: 2160) [annotate] [blame] [check-ins using]
To Artifact [472ad3a7d3]:
- File kcore/syscall.fn.x86.lin.64.s — part of check-in [f85e6a07dd] at 2019-08-20 22:54:49 on branch trunk — reorganize posix assembly code (user: lexi, size: 2166) [annotate] [blame] [check-ins using]
- File mod/kcore/syscall.fn.x86.lin.64.s — part of check-in [14172a910a] at 2019-08-21 06:00:24 on branch trunk — move modules to a subdirectory in order to keep the directory tree organized and make room for OS-specific build files (user: lexi, size: 2166) [annotate] [blame] [check-ins using]
7 7 ; altogether and access the error value of a 8 8 ; syscall directly. invoke as: 9 9 ; 10 10 ; void k_platform_syscall_raw(s64* result, u64* errno, 11 11 ; syscall, u8 valency, s64[] args) 12 12 13 13 bits 64 14 -%include "../arch/x86.lin.64.s" 14 +%include "../arch/posix/x86.lin.64.s" 15 15 %include "../arch/x86.cdecl.64.s" 16 16 ; vim: ft=nasm 17 17 18 18 %macro handle_arg 1 19 19 %assign v %1+1 20 20 mov sys.reg. %+ v, [ccall.reg.4 + 8 * %1] 21 21 dec ccall.reg.3