summaryrefslogtreecommitdiff
path: root/userspace/crt0.S
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/crt0.S')
-rw-r--r--userspace/crt0.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/userspace/crt0.S b/userspace/crt0.S
new file mode 100644
index 0000000..9f7dab1
--- /dev/null
+++ b/userspace/crt0.S
@@ -0,0 +1,9 @@
+.global _start
+.extern main
+.extern exit
+_start:
+call main
+call _exit
+.wait:
+ hlt
+jmp .wait