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 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
; altogether and access the error value of a ; syscall directly. invoke as: ; ; void k_platform_syscall_raw(s64* result, u64* errno, ; syscall, u8 valency, s64[] args) bits 64 %include "../arch/x86.lin.64.s" %include "../arch/x86.cdecl.64.s" ; vim: ft=nasm %macro handle_arg 1 %assign v %1+1 mov sys.reg. %+ v, [ccall.reg.4 + 8 * %1] dec ccall.reg.3 |
| |
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
; altogether and access the error value of a
; syscall directly. invoke as:
;
; void k_platform_syscall_raw(s64* result, u64* errno,
; syscall, u8 valency, s64[] args)
bits 64
%include "../arch/posix/x86.lin.64.s"
%include "../arch/x86.cdecl.64.s"
; vim: ft=nasm
%macro handle_arg 1
%assign v %1+1
mov sys.reg. %+ v, [ccall.reg.4 + 8 * %1]
dec ccall.reg.3
|