From 63d1fcb70a9a277c64b7096336c887dafc903774 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 19 Sep 2004 07:07:19 +0000 Subject: [PATCH] Syscall handler doesn't expect to see return address on stack, so pop it off before invoking interrupt. --- src/lib/user/syscall-stub.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/user/syscall-stub.S b/src/lib/user/syscall-stub.S index 27e6b20..e71afd5 100644 --- a/src/lib/user/syscall-stub.S +++ b/src/lib/user/syscall-stub.S @@ -1,4 +1,5 @@ .globl syscall syscall: + popl %ecx int $0x30 - retl + jmpl *%ecx -- 2.30.2