os_kernel_lab/code/lab8/user/faultreadkernel.c

10 lines
156 B
C
Raw Normal View History

2012-08-22 12:32:13 +08:00
#include <stdio.h>
#include <ulib.h>
int
main(void) {
cprintf("I read %08x from 0xfac00000!\n", *(unsigned *)0xfac00000);
panic("FAIL: T.T\n");
}