Changes in kernel/arch/ia64/src/interrupt.c [a000878c:b60c582] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/interrupt.c
ra000878c rb60c582 64 64 #define BUNDLE_SIZE 16 65 65 66 static constchar *vector_names_64_bundle[VECTORS_64_BUNDLE] = {66 char *vector_names_64_bundle[VECTORS_64_BUNDLE] = { 67 67 "VHPT Translation vector", 68 68 "Instruction TLB vector", … … 87 87 }; 88 88 89 static constchar *vector_names_16_bundle[VECTORS_16_BUNDLE] = {89 char *vector_names_16_bundle[VECTORS_16_BUNDLE] = { 90 90 "Page Not Present vector", 91 91 "Key Permission vector", … … 121 121 }; 122 122 123 static const char *vector_to_string(uint16_t vector) 123 static char *vector_to_string(uint16_t vector); 124 static void dump_interrupted_context(istate_t *istate); 125 126 char *vector_to_string(uint16_t vector) 124 127 { 125 128 ASSERT(vector <= VECTOR_MAX); … … 132 135 } 133 136 134 static void dump_interrupted_context(istate_t *istate) 135 { 136 const char *ifa = symtab_fmt_name_lookup(istate->cr_ifa); 137 const char *iipa = symtab_fmt_name_lookup(istate->cr_iipa); 138 const char *iip = symtab_fmt_name_lookup(istate->cr_iip); 139 137 void dump_interrupted_context(istate_t *istate) 138 { 139 char *ifa, *iipa, *iip; 140 141 ifa = symtab_fmt_name_lookup(istate->cr_ifa); 142 iipa = symtab_fmt_name_lookup(istate->cr_iipa); 143 iip = symtab_fmt_name_lookup(istate->cr_iip); 144 140 145 putchar('\n'); 141 146 printf("Interrupted context dump:\n"); … … 157 162 void general_exception(uint64_t vector, istate_t *istate) 158 163 { 159 c onst char *desc;160 164 char *desc = ""; 165 161 166 switch (istate->cr_isr.ge_code) { 162 167 case GE_ILLEGALOP: … … 182 187 break; 183 188 } 184 189 185 190 fault_if_from_uspace(istate, "General Exception (%s).", desc); 186 191 187 192 dump_interrupted_context(istate); 188 193 panic("General Exception (%s).", desc);
Note:
See TracChangeset
for help on using the changeset viewer.