mirror of https://github.com/xemu-project/xemu.git
x86: split MTRRVar union
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
acc6883679
commit
c1a54d573b
|
@ -565,6 +565,11 @@ typedef union {
|
||||||
MMXReg mmx;
|
MMXReg mmx;
|
||||||
} FPReg;
|
} FPReg;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
uint64_t base;
|
||||||
|
uint64_t mask;
|
||||||
|
} MTRRVar;
|
||||||
|
|
||||||
#ifdef TARGET_X86_64
|
#ifdef TARGET_X86_64
|
||||||
#define CPU_NB_REGS 16
|
#define CPU_NB_REGS 16
|
||||||
#else
|
#else
|
||||||
|
@ -683,10 +688,7 @@ typedef struct CPUX86State {
|
||||||
/* MTRRs */
|
/* MTRRs */
|
||||||
uint64_t mtrr_fixed[11];
|
uint64_t mtrr_fixed[11];
|
||||||
uint64_t mtrr_deftype;
|
uint64_t mtrr_deftype;
|
||||||
struct {
|
MTRRVar mtrr_var[8];
|
||||||
uint64_t base;
|
|
||||||
uint64_t mask;
|
|
||||||
} mtrr_var[8];
|
|
||||||
|
|
||||||
/* For KVM */
|
/* For KVM */
|
||||||
uint64_t interrupt_bitmap[256 / 64];
|
uint64_t interrupt_bitmap[256 / 64];
|
||||||
|
|
Loading…
Reference in New Issue