summaryrefslogtreecommitdiff
path: root/src/init/main.c
diff options
context:
space:
mode:
authordzwdz2021-07-21 21:31:52 +0200
committerdzwdz2021-07-21 21:31:52 +0200
commit36089d20ca1f7c57f36c4172759a5084bdf87a3a (patch)
treeac31e75f3379e0dcad6cb98f23cba6cbce236380 /src/init/main.c
parent46fb83d6eb44b5d52520783570dc40b7ef25260b (diff)
barebones syscall
Diffstat (limited to 'src/init/main.c')
-rw-r--r--src/init/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init/main.c b/src/init/main.c
index ce1600c..cb3fa1d 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -1,6 +1,10 @@
#include <stdint.h>
+void _syscall();
+
int main() {
+ _syscall();
+
// change the colors of VGA text
// doesn't require a lot of code, but still shows that it's working
uint8_t *vga = (void*) 0xB8000;