summaryrefslogtreecommitdiff
path: root/userspace/crt0.S
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/crt0.S')
-rw-r--r--userspace/crt0.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/userspace/crt0.S b/userspace/crt0.S
index 87f1995..30b56a9 100644
--- a/userspace/crt0.S
+++ b/userspace/crt0.S
@@ -6,7 +6,8 @@ pop %eax
mov %eax, environ
pop %eax
-#mov %eax, _impure_ptr
+# mov %eax, _impure_ptr # TODO: use this !
+
call main
push environ
@@ -14,6 +15,7 @@ push %eax
call _exit2
# this should never be reached anyway!
+
.wait:
hlt
jmp .wait