Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88743
b: refs/heads/master
c: ca9cda2
h: refs/heads/master
i:
  88741: 4d81b35
  88739: 3c9840d
  88735: ee3c336
v: v3
  • Loading branch information
Ingo Molnar committed Apr 17, 2008
1 parent 31bac81 commit 9c8ed22
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e104383fbf26570968cbf060955f67cd5378300a
refs/heads/master: ca9cda2f7b53da619fabde4c0c1bd5f61039bd5b
51 changes: 28 additions & 23 deletions trunk/include/asm-x86/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,42 +289,47 @@ struct orig_ist {
#define MXCSR_DEFAULT 0x1f80

struct i387_fsave_struct {
u32 cwd;
u32 swd;
u32 twd;
u32 fip;
u32 fcs;
u32 foo;
u32 fos;
/* 8*10 bytes for each FP-reg = 80 bytes: */
u32 cwd; /* FPU Control Word */
u32 swd; /* FPU Status Word */
u32 twd; /* FPU Tag Word */
u32 fip; /* FPU IP Offset */
u32 fcs; /* FPU IP Selector */
u32 foo; /* FPU Operand Pointer Offset */
u32 fos; /* FPU Operand Pointer Selector */

/* 8*10 bytes for each FP-reg = 80 bytes: */
u32 st_space[20];
/* Software status information: */

/* Software status information [not touched by FSAVE ]: */
u32 status;
};

struct i387_fxsave_struct {
u16 cwd;
u16 swd;
u16 twd;
u16 fop;
u16 cwd; /* Control Word */
u16 swd; /* Status Word */
u16 twd; /* Tag Word */
u16 fop; /* Last Instruction Opcode */
union {
struct {
u64 rip;
u64 rdp;
u64 rip; /* Instruction Pointer */
u64 rdp; /* Data Pointer */
};
struct {
u32 fip;
u32 fcs;
u32 foo;
u32 fos;
u32 fip; /* FPU IP Offset */
u32 fcs; /* FPU IP Selector */
u32 foo; /* FPU Operand Offset */
u32 fos; /* FPU Operand Selector */
};
};
u32 mxcsr;
u32 mxcsr_mask;
/* 8*16 bytes for each FP-reg = 128 bytes: */
u32 mxcsr; /* MXCSR Register State */
u32 mxcsr_mask; /* MXCSR Mask */

/* 8*16 bytes for each FP-reg = 128 bytes: */
u32 st_space[32];
/* 16*16 bytes for each XMM-reg = 256 bytes: */

/* 16*16 bytes for each XMM-reg = 256 bytes: */
u32 xmm_space[64];

u32 padding[24];

} __attribute__((aligned(16)));
Expand Down

0 comments on commit 9c8ed22

Please sign in to comment.