os_kernel_lab/related_info/lab5/lab5-spoc-discuss/user/faultread.c

10 lines
141 B
C
Raw Normal View History

2015-04-20 12:44:41 +08:00
#include <stdio.h>
#include <ulib.h>
int
main(void) {
cprintf("I read %8x from 0.\n", *(unsigned int *)0);
panic("FAIL: T.T\n");
}