summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c
new file mode 100644
index 0000000..90f82f4
--- /dev/null
+++ b/src/kernel/main.c
@@ -0,0 +1,11 @@
+int func() {
+ asm(
+ ".intel_syntax noprefix \n"
+ "mov eax, 42 \n"
+ "ret \n"
+ );
+}
+
+int _start() {
+ return 1;
+}