Changeset 0237380 in mainline for kernel/arch/arm32/src/exception.c


Ignore:
Timestamp:
2012-11-25T16:37:57Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
37bb3e1
Parents:
e5c8bc6
Message:

arm32,fpu: Save FPEXC in fpu context. Fix VFP detection.

Move FPU exception handling code to fpu_context.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/exception.c

    re5c8bc6 r0237380  
    167167static void undef_insn_exception(unsigned int exc_no, istate_t *istate)
    168168{
    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
     169        if (!handle_if_fpu_exception()) {
     170                fault_if_from_uspace(istate, "Undefined instruction.");
     171                panic_badtrap(istate, exc_no, "Undefined instruction.");
     172        }
    175173}
    176174
Note: See TracChangeset for help on using the changeset viewer.