summaryrefslogtreecommitdiff
path: root/Source/UnixUserland/_start.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/UnixUserland/_start.c')
-rw-r--r--Source/UnixUserland/_start.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/UnixUserland/_start.c b/Source/UnixUserland/_start.c
new file mode 100644
index 0000000..00dc77e
--- /dev/null
+++ b/Source/UnixUserland/_start.c
@@ -0,0 +1,7 @@
+int main();
+
+void _start() {
+ main();
+ asm volatile("int $66;");
+ while(1);
+}