- Timestamp:
- 2006-06-06T07:40:51Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0dbc4e7
- Parents:
- 6f9a9bc
- Location:
- arch/ia64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/interrupt.h
r6f9a9bc r874621f 114 114 } 115 115 116 static inline __native istate_get_pc(istate_t *istate) 117 { 118 return istate->cr_iip; 119 } 120 #include <panic.h> 121 static inline int istate_from_uspace(istate_t *istate) 122 { 123 panic("TODO: istate_from_uspace not yet implemented"); 124 return 0; 125 } 126 116 127 extern void *ivt; 117 128 -
arch/ia64/src/interrupt.c
r6f9a9bc r874621f 47 47 #include <ipc/irq.h> 48 48 #include <ipc/ipc.h> 49 #include <interrupt.h> 49 50 50 51 … … 151 152 char *desc = ""; 152 153 153 dump_interrupted_context(istate);154 155 154 switch (istate->cr_isr.ge_code) { 156 155 case GE_ILLEGALOP: … … 177 176 } 178 177 178 fault_if_from_uspace(istate, "General Exception (%s)", desc); 179 180 dump_interrupted_context(istate); 179 181 panic("General Exception (%s)\n", desc); 180 182 } … … 187 189 scheduler_fpu_lazy_request(); 188 190 #else 191 fault_if_from_uspace(istate, "Interruption: %#hx (%s)", (__u16) vector, vector_to_string(vector)); 189 192 dump_interrupted_context(istate); 190 193 panic("Interruption: %#hx (%s)\n", (__u16) vector, vector_to_string(vector)); … … 268 271 /* TODO */ 269 272 } 270 271 272
Note:
See TracChangeset
for help on using the changeset viewer.