Rev 1703 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1703 | Rev 1735 | ||
|---|---|---|---|
| Line 50... | Line 50... | ||
| 50 | } |
50 | } |
| 51 | 51 | ||
| 52 | /** Handle data_access_error. */ |
52 | /** Handle data_access_error. */ |
| 53 | void do_data_access_error(void) |
53 | void do_data_access_error(void) |
| 54 | { |
54 | { |
| 55 | panic("Data Access Error: %P\n", tpc_read()); |
55 | panic("Data Access Error: %p\n", tpc_read()); |
| 56 | } |
56 | } |
| 57 | 57 | ||
| 58 | /** Handle mem_address_not_aligned. */ |
58 | /** Handle mem_address_not_aligned. */ |
| 59 | void do_illegal_instruction(void) |
59 | void do_illegal_instruction(void) |
| 60 | { |
60 | { |
| 61 | panic("Illegal Instruction: %P\n", tpc_read()); |
61 | panic("Illegal Instruction: %p\n", tpc_read()); |
| 62 | } |
62 | } |
| 63 | 63 | ||
| 64 | /** @} |
64 | /** @} |
| 65 | */ |
65 | */ |
| 66 | 66 | ||