OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acc6883
)
x86: split MTRRVar union
author
Juan Quintela
<quintela@redhat.com>
Tue, 29 Sep 2009 20:48:59 +0000
(22:48 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:42 +0000
(09:32 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/cpu.h
patch
|
blob
|
history
diff --git
a/target-i386/cpu.h
b/target-i386/cpu.h
index
6d6ceb3
..
a87af3b
100644
(file)
--- a/
target-i386/cpu.h
+++ b/
target-i386/cpu.h
@@
-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];