Ignore:
Timestamp:
2012-11-25T16:37:57Z (11 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/include/fpu_context.h

    re5c8bc6 r0237380  
    4444
    4545/* ARM Architecture reference manual, p B-1529.
    46  * We don't enable EX bit so max 32 64bit regs are stored (+2 control regs)
    4746 */
    4847typedef struct {
     48        uint32_t fpexc;
    4949        uint32_t fpuscr;
    50         uint32_t fpuexc;
    5150        uint32_t s[64];
    5251} fpu_context_t;
     
    5453void fpu_setup(void);
    5554
     55bool handle_if_fpu_exception(void);
     56
    5657#endif
    5758
Note: See TracChangeset for help on using the changeset viewer.