diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2008-11-05 10:36:19 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 09:52:22 -0500 |
commit | 5cf8ca22146fa106f3bb865631ec04f5b499508f (patch) | |
tree | 4a32a552277e4c3a6a103f05d164dfc97dbf2bae /arch/powerpc/include | |
parent | db93f5745d836f81cef0b4101a7c2685eeb55efb (diff) |
KVM: ppc: adjust vcpu types to support 64-bit cores
However, some of these fields could be split into separate per-core structures
in the future.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index 765d8ec8b7d6..a4a7d5ef6cf8 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h | |||
@@ -84,32 +84,32 @@ struct kvm_vcpu_arch { | |||
84 | u32 host_msr; | 84 | u32 host_msr; |
85 | 85 | ||
86 | u64 fpr[32]; | 86 | u64 fpr[32]; |
87 | u32 gpr[32]; | 87 | ulong gpr[32]; |
88 | 88 | ||
89 | u32 pc; | 89 | ulong pc; |
90 | u32 cr; | 90 | u32 cr; |
91 | u32 ctr; | 91 | ulong ctr; |
92 | u32 lr; | 92 | ulong lr; |
93 | u32 xer; | 93 | ulong xer; |
94 | 94 | ||
95 | u32 msr; | 95 | ulong msr; |
96 | u32 mmucr; | 96 | u32 mmucr; |
97 | u32 sprg0; | 97 | ulong sprg0; |
98 | u32 sprg1; | 98 | ulong sprg1; |
99 | u32 sprg2; | 99 | ulong sprg2; |
100 | u32 sprg3; | 100 | ulong sprg3; |
101 | u32 sprg4; | 101 | ulong sprg4; |
102 | u32 sprg5; | 102 | ulong sprg5; |
103 | u32 sprg6; | 103 | ulong sprg6; |
104 | u32 sprg7; | 104 | ulong sprg7; |
105 | u32 srr0; | 105 | ulong srr0; |
106 | u32 srr1; | 106 | ulong srr1; |
107 | u32 csrr0; | 107 | ulong csrr0; |
108 | u32 csrr1; | 108 | ulong csrr1; |
109 | u32 dsrr0; | 109 | ulong dsrr0; |
110 | u32 dsrr1; | 110 | ulong dsrr1; |
111 | u32 dear; | 111 | ulong dear; |
112 | u32 esr; | 112 | ulong esr; |
113 | u32 dec; | 113 | u32 dec; |
114 | u32 decar; | 114 | u32 decar; |
115 | u32 tbl; | 115 | u32 tbl; |
@@ -117,7 +117,7 @@ struct kvm_vcpu_arch { | |||
117 | u32 tcr; | 117 | u32 tcr; |
118 | u32 tsr; | 118 | u32 tsr; |
119 | u32 ivor[16]; | 119 | u32 ivor[16]; |
120 | u32 ivpr; | 120 | ulong ivpr; |
121 | u32 pir; | 121 | u32 pir; |
122 | 122 | ||
123 | u32 shadow_pid; | 123 | u32 shadow_pid; |
@@ -131,8 +131,8 @@ struct kvm_vcpu_arch { | |||
131 | u32 dbcr1; | 131 | u32 dbcr1; |
132 | 132 | ||
133 | u32 last_inst; | 133 | u32 last_inst; |
134 | u32 fault_dear; | 134 | ulong fault_dear; |
135 | u32 fault_esr; | 135 | ulong fault_esr; |
136 | gpa_t paddr_accessed; | 136 | gpa_t paddr_accessed; |
137 | 137 | ||
138 | u8 io_gpr; /* GPR used as IO source/target */ | 138 | u8 io_gpr; /* GPR used as IO source/target */ |