提交 c1a54d57 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

x86: split MTRRVar union

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 acc68836
......@@ -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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册