summaryrefslogtreecommitdiff
path: root/user/lib/entry.S
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-30 21:07:46 -0400
committerFreya Murphy <freya@freyacat.org>2025-05-01 15:51:32 -0400
commit1a10a3725e7bea67e558715f6e9f78abcb415b3a (patch)
tree1f35cf35f61cd58a86f2a8e7ea14c565db20a211 /user/lib/entry.S
parenttarfs (diff)
downloadcomus-1a10a3725e7bea67e558715f6e9f78abcb415b3a.tar.gz
comus-1a10a3725e7bea67e558715f6e9f78abcb415b3a.tar.bz2
comus-1a10a3725e7bea67e558715f6e9f78abcb415b3a.zip
finish syscall impls
Diffstat (limited to 'user/lib/entry.S')
-rw-r--r--user/lib/entry.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/user/lib/entry.S b/user/lib/entry.S
index 40570b5..efaa652 100644
--- a/user/lib/entry.S
+++ b/user/lib/entry.S
@@ -5,7 +5,6 @@
.section .text
.code64
_start:
- call main
- subq $16, %rsp # ???
- pushq %rax
+ call main
+ movq %rax, %rdi
call exit