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