Changeset 69c1995 in mainline for kernel/arch/arm32/include


Ignore:
Timestamp:
2012-11-29T12:53:45Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e80d8f8
Parents:
3194d83 (diff), ce60be1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge ARM fpu hw support.

Location:
kernel/arch/arm32/include
Files:
2 edited

Legend:

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

    r3194d83 r69c1995  
    4343/** Struct representing ARM CPU identification. */
    4444typedef struct {
    45         /** Implementator (vendor) number. */
     45        /** Implementor (vendor) number. */
    4646        uint32_t imp_num;
    4747
  • kernel/arch/arm32/include/fpu_context.h

    r3194d83 r69c1995  
    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 */
    4547typedef struct {
     48        uint32_t fpexc;
     49        uint32_t fpscr;
     50        uint32_t s[64];
    4651} fpu_context_t;
     52
     53void fpu_setup(void);
     54
     55bool handle_if_fpu_exception(void);
    4756
    4857#endif
Note: See TracChangeset for help on using the changeset viewer.