Changeset 957ce9a5 in mainline
- Timestamp:
- 2012-11-24T23:22:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e5c8bc6
- Parents:
- 65871bb
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
r65871bb r957ce9a5 367 367 368 368 % Lazy FPU context switching 369 ! [CONFIG_FPU=y &PLATFORM!=arm32] CONFIG_FPU_LAZY (y/n)369 ! [CONFIG_FPU=y] CONFIG_FPU_LAZY (y/n) 370 370 371 371 % Use VHPT -
kernel/arch/arm32/src/exception.c
r65871bb r957ce9a5 161 161 } 162 162 163 /** Undefined instruction exception handler. 164 * 165 * Calls scheduler_fpu_lazy_request 166 */ 167 static void undef_insn_exception(unsigned int exc_no, istate_t *istate) 168 { 169 #ifdef CONFIG_FPU_LAZY 170 scheduler_fpu_lazy_request(); 171 #else 172 fault_if_from_uspace(istate, "Undefined instruction."); 173 panic_badtrap(istate, exc_no, "Undefined instruction."); 174 #endif 175 } 176 163 177 /** Initializes exception handling. 164 178 * … … 174 188 install_exception_handlers(); 175 189 190 exc_register(EXC_UNDEF_INSTR, "undefined instruction", true, 191 (iroutine_t) undef_insn_exception); 176 192 exc_register(EXC_IRQ, "interrupt", true, 177 193 (iroutine_t) irq_exception); -
kernel/arch/arm32/src/fpu_context.c
r65871bb r957ce9a5 143 143 void fpu_init(void) 144 144 { 145 fpu_enable(); 145 146 } 146 147
Note:
See TracChangeset
for help on using the changeset viewer.