Ignore:
Timestamp:
2012-11-24T02:28:47Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1e496a
Parents:
6e634d6
Message:

arm32: Implement basic support for FPU context switching.

Lazy fpu context switching is not supported, yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/fpu_context.h

    r6e634d6 r3412e844  
    4141#include <typedefs.h>
    4242
    43 #define FPU_CONTEXT_ALIGN    0
     43#define FPU_CONTEXT_ALIGN    8
    4444
     45/* ARM Architecture reference manual, p B-1529.
     46 * We don't enable EX bit so max 32 64bit regs are stored (+2 control regs)
     47 */
    4548typedef struct {
     49        uint32_t fpuscr;
     50        uint32_t fpuexc;
     51        uint32_t s[64];
    4652} fpu_context_t;
    4753
Note: See TracChangeset for help on using the changeset viewer.