Rev 1883 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1883 | Rev 1946 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | /** @file |
32 | /** @file |
33 | * |
33 | * |
34 | */ |
34 | */ |
35 | 35 | ||
36 | #include <arch/trap/exception.h> |
36 | #include <arch/trap/exception.h> |
- | 37 | #include <arch/mm/tlb.h> |
|
37 | #include <arch/interrupt.h> |
38 | #include <arch/interrupt.h> |
38 | #include <interrupt.h> |
39 | #include <interrupt.h> |
39 | #include <arch/asm.h> |
40 | #include <arch/asm.h> |
40 | #include <arch/register.h> |
41 | #include <arch/register.h> |
41 | #include <debug.h> |
42 | #include <debug.h> |
Line 154... | Line 155... | ||
154 | /** Handle data_access_exception. (0x30) */ |
155 | /** Handle data_access_exception. (0x30) */ |
155 | void data_access_exception(int n, istate_t *istate) |
156 | void data_access_exception(int n, istate_t *istate) |
156 | { |
157 | { |
157 | fault_if_from_uspace(istate, "%s\n", __FUNCTION__); |
158 | fault_if_from_uspace(istate, "%s\n", __FUNCTION__); |
158 | dump_istate(istate); |
159 | dump_istate(istate); |
- | 160 | dump_sfsr_and_sfar(); |
|
159 | panic("%s\n", __FUNCTION__); |
161 | panic("%s\n", __FUNCTION__); |
160 | } |
162 | } |
161 | 163 | ||
162 | /** Handle data_access_error. (0x32) */ |
164 | /** Handle data_access_error. (0x32) */ |
163 | void data_access_error(int n, istate_t *istate) |
165 | void data_access_error(int n, istate_t *istate) |