Rev 2020 | Rev 2029 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2020 | Rev 2027 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #include <proc/thread.h> |
36 | #include <proc/thread.h> |
37 | 37 | ||
38 | #include <arch.h> |
38 | #include <arch.h> |
39 | 39 | ||
40 | 40 | ||
41 | void test_fault1(void) |
41 | char * test_fault1(void) |
42 | { |
42 | { |
43 | - | ||
44 | ((int *)(0))[1]=0; |
43 | ((int *)(0))[1] = 0; |
45 | 44 | ||
- | 45 | return "Written to NULL"; |
|
46 | } |
46 | } |