summaryrefslogtreecommitdiff
path: root/lume-legacy/src/user/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'lume-legacy/src/user/entry.S')
-rw-r--r--lume-legacy/src/user/entry.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/lume-legacy/src/user/entry.S b/lume-legacy/src/user/entry.S
new file mode 100644
index 0000000..41e0964
--- /dev/null
+++ b/lume-legacy/src/user/entry.S
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2026 Richard Qin
+
+.section .text
+.global _start
+
+_start:
+ call main
+
+ call exit
+
+1: j 1b \ No newline at end of file