Changeset e9b9e12 in mainline


Ignore:
Timestamp:
2005-05-08T10:06:18Z (20 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aa4e8d7
Parents:
808e1f0
Message:

Added fpu_context_t type.
IA-32's version of this type contains array of 512 bytes to be used by FXSAVE … instructions.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/context.h

    r808e1f0 re9b9e12  
    3232#include <arch/types.h>
    3333
     34struct fpu_context {
     35  __u8 fpu[512]; //FXSAVE & FXRSTOR storage area size
     36};
     37
     38
    3439struct context {
    3540        __u32 sp;
     
    4146        __u32 edi;
    4247        __u32 ebp;
    43         __u32 pri;     
     48        __u32 pri;
     49        struct fpu_context *fpu;       
    4450} __attribute__ ((packed));
    4551
  • arch/ia64/include/context.h

    r808e1f0 re9b9e12  
    3232#include <arch/types.h>
    3333
     34struct fpu_context {
     35  //Don't understand IA-64 fpu environment
     36};
     37
     38
    3439struct context {
    3540        __u64 sp;
  • arch/mips/include/context.h

    r808e1f0 re9b9e12  
    3131
    3232#include <arch/types.h>
     33
     34struct fpu_context {
     35  //Don't understand MIPS fpu environment
     36};
     37
     38
    3339
    3440struct context {
  • include/typedefs.h

    r808e1f0 re9b9e12  
    3939typedef struct thread thread_t;
    4040typedef struct context context_t;
     41typedef struct fpu_context fpu_context_t;
    4142
    4243typedef struct timeout timeout_t;
Note: See TracChangeset for help on using the changeset viewer.