summaryrefslogtreecommitdiff
path: root/src/kernel/main.c
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2014-09-24 12:15:06 -0700
committeriximeow <me@iximeow.net>2014-09-24 12:15:06 -0700
commitc0ab4a627bca92268b9ecadc03298b8573b5d2ae (patch)
tree9f81e7f75e359b8140634a8e516c1f86b1311767 /src/kernel/main.c
Initial commit
Diffstat (limited to 'src/kernel/main.c')
-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;
+}