diff options
Diffstat (limited to 'src/grapes/test/main.c')
-rw-r--r-- | src/grapes/test/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/grapes/test/main.c b/src/grapes/test/main.c new file mode 100644 index 0000000..d10ad35 --- /dev/null +++ b/src/grapes/test/main.c @@ -0,0 +1,8 @@ +void printk(char *s) { + asm volatile("int $64" : : "a"(4), "b"(s)); +} + +void start() { + printk("Hi world !"); + asm volatile("int $64" : : "a"(0)); +} |