Initial syscall support
[akaros.git] / user / faultread.c
1 // buggy program - faults with a read from location zero
2
3 #include <inc/lib.h>
4
5 void
6 umain(void)
7 {
8         cprintf("I read %08x from location 0!\n", *(unsigned*)0);
9 }
10