mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 05:51:53 -06: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
1 changed files with 6 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue