Changeset f76fed4 in mainline for generic/include/fpu_context.h


Ignore:
Timestamp:
2006-03-03T00:20:31Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
09c18f7
Parents:
ddcf365
Message:

Added lazy fpu context allocation.

  • threads that don't use fpu, don't get allocated fpu context
  • fpu context alignment on AMD64 nicely disappeared
File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/fpu_context.h

    rddcf365 rf76fed4  
    3434#include <typedefs.h>
    3535
     36#if defined(CONFIG_FPU_LAZY) && !defined(ARCH_HAS_FPU)
     37# error "CONFIG_FPU_LAZY defined, but no ARCH_HAS_FPU"
     38#endif
     39
    3640extern void fpu_context_save(fpu_context_t *);
    3741extern void fpu_context_restore(fpu_context_t *);
    38 extern void fpu_init(fpu_context_t *);
     42extern void fpu_init(void);
    3943extern void fpu_enable(void);
    4044extern void fpu_disable(void);
Note: See TracChangeset for help on using the changeset viewer.