Rev 1008 | Rev 1100 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1008 | Rev 1019 | ||
---|---|---|---|
Line 86... | Line 86... | ||
86 | { |
86 | { |
87 | PRINT_INFO_ERRCODE(istate); |
87 | PRINT_INFO_ERRCODE(istate); |
88 | panic("stack fault\n"); |
88 | panic("stack fault\n"); |
89 | } |
89 | } |
90 | 90 | ||
- | 91 | void simd_fp_exception(int n, istate_t *istate) |
|
- | 92 | { |
|
- | 93 | ||
- | 94 | PRINT_INFO_ERRCODE(istate); |
|
- | 95 | __u32 mxcsr; |
|
- | 96 | asm |
|
- | 97 | ( |
|
- | 98 | "stmxcsr %0;\n" |
|
- | 99 | :"=m"(mxcsr) |
|
- | 100 | ); |
|
- | 101 | printf("MXCSR: %X\n",(__native)(mxcsr)); |
|
- | 102 | panic("SIMD FP exception(19)\n"); |
|
- | 103 | } |
|
- | 104 | ||
91 | void nm_fault(int n, istate_t *istate) |
105 | void nm_fault(int n, istate_t *istate) |
92 | { |
106 | { |
93 | #ifdef CONFIG_FPU_LAZY |
107 | #ifdef CONFIG_FPU_LAZY |
94 | scheduler_fpu_lazy_request(); |
108 | scheduler_fpu_lazy_request(); |
95 | #else |
109 | #else |