summaryrefslogtreecommitdiff
path: root/src/grapes/test/main.c
blob: 0413889e9417960263e9d1eeda0d773a14001da5 (plain) (blame)
1
2
3
4
5
6
7
8
void printk(char *s) {
	asm volatile("int $64" : : "a"(4), "b"(s));
}

void start() {
	printk("Hi world !");
	asm volatile("int $64" : : "a"(3), "b"(0));
}