jehanne/sys/src/kern/amd64/registry-amd64.rc.conf

22 lines
386 B
Plaintext

# syscalls- arguments registers
# note how in x86_64 the sequence differ from normal function calls in
# System V ABI: rcx is replaced by r10 since the syscall instruction
# that would clobber rcx (and r11)
UREG=(di si dx r10 r8 r9)
# syscalls' return values
int=i
int32_t=i
long=vl
int64_t=vl
uintptr_t=p
void=p
void*=v
char*=v
char**=v
uint8_t*=v
int32_t*=v
uint64_t*=v
int64_t*=v