os_kernel_lab/labcodes_answer/lab6_result/user/faultreadkernel.c
2014-08-20 15:42:20 +08:00

10 lines
156 B
C

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