mirror of
https://github.com/qemu/qemu.git
synced 2025-01-26 15:40:11 +08:00
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;
|
||||
} FPReg;
|
||||
|
||||
typedef struct {
|
||||
uint64_t base;
|
||||
uint64_t mask;
|
||||
} MTRRVar;
|
||||
|
||||
#ifdef TARGET_X86_64
|
||||
#define CPU_NB_REGS 16
|
||||
#else
|
||||
@ -683,10 +688,7 @@ typedef struct CPUX86State {
|
||||
/* MTRRs */
|
||||
uint64_t mtrr_fixed[11];
|
||||
uint64_t mtrr_deftype;
|
||||
struct {
|
||||
uint64_t base;
|
||||
uint64_t mask;
|
||||
} mtrr_var[8];
|
||||
MTRRVar mtrr_var[8];
|
||||
|
||||
/* For KVM */
|
||||
uint64_t interrupt_bitmap[256 / 64];
|
||||
|
Loading…
Reference in New Issue
Block a user