Rev 3743 | Rev 3862 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3743 | Rev 3770 | ||
---|---|---|---|
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/mm/sun4u/tlb.h> |
38 | #include <arch/mm/sun4u/tlb.h> |
38 | #include <arch/mm/sun4u/tlb.h> |
39 | #include <arch/interrupt.h> |
39 | #include <arch/interrupt.h> |
40 | #include <interrupt.h> |
40 | #include <interrupt.h> |
41 | #include <arch/asm.h> |
41 | #include <arch/asm.h> |
42 | #include <arch/register.h> |
42 | #include <arch/register.h> |
Line 155... | Line 155... | ||
155 | /** Handle data_access_exception. (0x30) */ |
155 | /** Handle data_access_exception. (0x30) */ |
156 | void data_access_exception(int n, istate_t *istate) |
156 | void data_access_exception(int n, istate_t *istate) |
157 | { |
157 | { |
158 | fault_if_from_uspace(istate, "%s\n", __func__); |
158 | fault_if_from_uspace(istate, "%s\n", __func__); |
159 | dump_istate(istate); |
159 | dump_istate(istate); |
160 | dump_sfsr_and_sfar(); |
160 | describe_mmu_fault(); |
161 | panic("%s\n", __func__); |
161 | panic("%s\n", __func__); |
162 | } |
162 | } |
163 | 163 | ||
164 | /** Handle data_access_error. (0x32) */ |
164 | /** Handle data_access_error. (0x32) */ |
165 | void data_access_error(int n, istate_t *istate) |
165 | void data_access_error(int n, istate_t *istate) |