os_kernel_lab/labcodes_answer/lab8_result/user/faultread.c
2014-08-20 15:42:20 +08:00

10 lines
141 B
C

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