From 83f5fbdc3f004a98ebede8577587a1a053d3da6a Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Wed, 29 Oct 2025 20:48:52 +0100 Subject: [PATCH] comment: add FreeBSD syscall registers to syswrap-main comments --- coregrind/m_syswrap/syswrap-main.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3