From: Paul Floyd Date: Wed, 29 Oct 2025 19:48:52 +0000 (+0100) Subject: comment: add FreeBSD syscall registers to syswrap-main comments X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83f5fbdc3f004a98ebede8577587a1a053d3da6a;p=thirdparty%2Fvalgrind.git comment: add FreeBSD syscall registers to syswrap-main comments --- diff --git a/coregrind/m_syswrap/syswrap-main.c b/coregrind/m_syswrap/syswrap-main.c index 6f982998f..936124f46 100644 --- a/coregrind/m_syswrap/syswrap-main.c +++ b/coregrind/m_syswrap/syswrap-main.c @@ -74,6 +74,7 @@ FreeBSD: x86 eax +4 +8 +12 +16 +20 +24 +28 +32 edx:eax, eflags.c amd64 rax rdi rsi rdx rcx r8 r9 +8 +16 rdx:rax, rflags.c + arm64 x8 x0 x1 x2 x3 x4 x5 x6 x7 x0:x1, nzcv.c On s390x the svc instruction is used for system calls. The system call number is encoded in the instruction (8 bit immediate field). Since Linux