summaryrefslogtreecommitdiff
path: root/src/init/syscall.s
diff options
context:
space:
mode:
authordzwdz2021-10-15 17:35:22 +0200
committerdzwdz2021-10-15 17:35:22 +0200
commit75b26dae5bd8a3aa0131a49769cfe9f361808b1b (patch)
treed990aa4610087e156c69839fa67187832a53c9fd /src/init/syscall.s
parent946313af5905ac3679c1f496f000ba077ce038f0 (diff)
slightly clean up all the assembly code
Diffstat (limited to 'src/init/syscall.s')
-rw-r--r--src/init/syscall.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/syscall.s b/src/init/syscall.s
index bea1452..0af49f3 100644
--- a/src/init/syscall.s
+++ b/src/init/syscall.s
@@ -7,7 +7,6 @@ _syscall:
push %edi
push %ebp
-// note: i could squeeze out another parameter out of %ebp
mov 20(%esp), %eax
mov 24(%esp), %ebx
mov %esp, %ecx
@@ -16,6 +15,7 @@ _syscall:
mov 32(%esp), %edi
mov 36(%esp), %ebp
sysenter
+
_syscall_ret:
pop %ebp
pop %edi