libk  Diff

Differences From Artifact [27d79c3e63]:

To Artifact [472ad3a7d3]:


     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