summaryrefslogtreecommitdiff
path: root/src/init/syscall.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/syscall.s')
-rw-r--r--src/init/syscall.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init/syscall.s b/src/init/syscall.s
index ebd9d0e..86d3523 100644
--- a/src/init/syscall.s
+++ b/src/init/syscall.s
@@ -2,8 +2,12 @@
.global _syscall
.type _syscall, @function
_syscall:
+ mov 4(%esp), %eax
+ mov 8(%esp), %ebx
mov %esp, %ecx
mov $_syscall_ret, %edx
+ mov 12(%esp), %esi
+ mov 16(%esp), %edi
sysenter
_syscall_ret:
ret