Changeset f76fed4 in mainline for arch/ia32/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
  • arch/ia32/include/fpu_context.h

    rddcf365 rf76fed4  
    3232#include <arch/types.h>
    3333
     34#define ARCH_HAS_FPU
     35#define FPU_CONTEXT_ALIGN 16
     36
    3437struct fpu_context {
    3538        /* TODO: We need malloc that aligns structures on 16-byte boundary */
    36         __u8 fpu[512+16];               /* FXSAVE & FXRSTOR storage area */
     39        __u8 fpu[512];          /* FXSAVE & FXRSTOR storage area */
    3740};
    3841
Note: See TracChangeset for help on using the changeset viewer.