Changeset 7f1c620 in mainline for arch/ia64/src/interrupt.c
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/src/interrupt.c
r991779c5 r7f1c620 120 120 }; 121 121 122 static char *vector_to_string( __u16vector);122 static char *vector_to_string(uint16_t vector); 123 123 static void dump_interrupted_context(istate_t *istate); 124 124 125 char *vector_to_string( __u16vector)125 char *vector_to_string(uint16_t vector) 126 126 { 127 127 ASSERT(vector <= VECTOR_MAX); … … 153 153 } 154 154 155 void general_exception( __u64vector, istate_t *istate)155 void general_exception(uint64_t vector, istate_t *istate) 156 156 { 157 157 char *desc = ""; … … 189 189 void fpu_enable(void); 190 190 191 void disabled_fp_register( __u64vector, istate_t *istate)191 void disabled_fp_register(uint64_t vector, istate_t *istate) 192 192 { 193 193 #ifdef CONFIG_FPU_LAZY 194 194 scheduler_fpu_lazy_request(); 195 195 #else 196 fault_if_from_uspace(istate, "Interruption: %#hx (%s)", ( __u16) vector, vector_to_string(vector));196 fault_if_from_uspace(istate, "Interruption: %#hx (%s)", (uint16_t) vector, vector_to_string(vector)); 197 197 dump_interrupted_context(istate); 198 panic("Interruption: %#hx (%s)\n", ( __u16) vector, vector_to_string(vector));198 panic("Interruption: %#hx (%s)\n", (uint16_t) vector, vector_to_string(vector)); 199 199 #endif 200 200 } 201 201 202 202 203 void nop_handler( __u64vector, istate_t *istate)203 void nop_handler(uint64_t vector, istate_t *istate) 204 204 { 205 205 } … … 208 208 209 209 /** Handle syscall. */ 210 int break_instruction( __u64vector, istate_t *istate)210 int break_instruction(uint64_t vector, istate_t *istate) 211 211 { 212 212 /* … … 228 228 } 229 229 230 void universal_handler( __u64vector, istate_t *istate)231 { 232 fault_if_from_uspace(istate,"Interruption: %#hx (%s)\n",( __u16) vector, vector_to_string(vector));230 void universal_handler(uint64_t vector, istate_t *istate) 231 { 232 fault_if_from_uspace(istate,"Interruption: %#hx (%s)\n",(uint16_t) vector, vector_to_string(vector)); 233 233 dump_interrupted_context(istate); 234 panic("Interruption: %#hx (%s)\n", ( __u16) vector, vector_to_string(vector));235 } 236 237 void external_interrupt( __u64vector, istate_t *istate)234 panic("Interruption: %#hx (%s)\n", (uint16_t) vector, vector_to_string(vector)); 235 } 236 237 void external_interrupt(uint64_t vector, istate_t *istate) 238 238 { 239 239 cr_ivr_t ivr; … … 255 255 } 256 256 257 void virtual_interrupt( __u64irq,void *param)257 void virtual_interrupt(uint64_t irq,void *param) 258 258 { 259 259 switch(irq) { … … 268 268 269 269 /* Reregister irq to be IPC-ready */ 270 void irq_ipc_bind_arch( __nativeirq)270 void irq_ipc_bind_arch(unative_t irq) 271 271 { 272 272 if(irq==IRQ_KBD) {
Note:
See TracChangeset
for help on using the changeset viewer.