Changeset 874621f in mainline for arch/ia32/src/interrupt.c
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/interrupt.c
r6f9a9bc r874621f 80 80 void null_interrupt(int n, istate_t *istate) 81 81 { 82 fault_if_from_uspace(istate, "unserviced interrupt: %d", n); 83 82 84 PRINT_INFO_ERRCODE(istate); 83 85 panic("unserviced interrupt: %d\n", n); … … 105 107 return; 106 108 } 109 fault_if_from_uspace(istate, "general protection fault"); 107 110 } 108 111 … … 113 116 void ss_fault(int n, istate_t *istate) 114 117 { 118 fault_if_from_uspace(istate, "stack fault"); 119 115 120 PRINT_INFO_ERRCODE(istate); 116 121 panic("stack fault\n"); … … 119 124 void simd_fp_exception(int n, istate_t *istate) 120 125 { 121 122 PRINT_INFO_ERRCODE(istate);123 126 __u32 mxcsr; 124 127 asm … … 127 130 :"=m"(mxcsr) 128 131 ); 132 fault_if_from_uspace(istate, "SIMD FP exception(19), MXCSR: %#zX", 133 (__native)mxcsr); 134 135 PRINT_INFO_ERRCODE(istate); 129 136 printf("MXCSR: %#zX\n",(__native)(mxcsr)); 130 137 panic("SIMD FP exception(19)\n"); … … 136 143 scheduler_fpu_lazy_request(); 137 144 #else 145 fault_if_from_uspace(istate, "fpu fault"); 138 146 panic("fpu fault"); 139 147 #endif
Note:
See TracChangeset
for help on using the changeset viewer.