Message ID | 58618db212762f493498e63340d21308a4589852.1254255997.git.quintela@redhat.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/target-i386/cpu.h b/target-i386/cpu.h index f06c7cf..27f7ecc 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -564,6 +564,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 @@ -682,10 +687,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];
Signed-off-by: Juan Quintela <quintela@redhat.com> --- target-i386/cpu.h | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-)