diff options
author | Jes Sorensen <jes@sgi.com> | 2009-01-08 07:58:48 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-24 05:03:03 -0400 |
commit | a26b73ad5e763db1b01cca6965ac3b65fe36e82a (patch) | |
tree | ff2f418ea21234c841ee15bb676815a3ff7efd40 | |
parent | 4780c65904f0fc4e312ee2da9383eacbe04e61ea (diff) |
KVM: ia64: expose registers in struct kvm_regs
Provide register layout for struct kvm_regs exposed to userland.
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r-- | arch/ia64/include/asm/kvm.h | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/kvm.h b/arch/ia64/include/asm/kvm.h index b5145784233e..0ee5bd7a988f 100644 --- a/arch/ia64/include/asm/kvm.h +++ b/arch/ia64/include/asm/kvm.h | |||
@@ -166,7 +166,40 @@ struct saved_vpd { | |||
166 | unsigned long vcpuid[5]; | 166 | unsigned long vcpuid[5]; |
167 | unsigned long vpsr; | 167 | unsigned long vpsr; |
168 | unsigned long vpr; | 168 | unsigned long vpr; |
169 | unsigned long vcr[128]; | 169 | union { |
170 | unsigned long vcr[128]; | ||
171 | struct { | ||
172 | unsigned long dcr; | ||
173 | unsigned long itm; | ||
174 | unsigned long iva; | ||
175 | unsigned long rsv1[5]; | ||
176 | unsigned long pta; | ||
177 | unsigned long rsv2[7]; | ||
178 | unsigned long ipsr; | ||
179 | unsigned long isr; | ||
180 | unsigned long rsv3; | ||
181 | unsigned long iip; | ||
182 | unsigned long ifa; | ||
183 | unsigned long itir; | ||
184 | unsigned long iipa; | ||
185 | unsigned long ifs; | ||
186 | unsigned long iim; | ||
187 | unsigned long iha; | ||
188 | unsigned long rsv4[38]; | ||
189 | unsigned long lid; | ||
190 | unsigned long ivr; | ||
191 | unsigned long tpr; | ||
192 | unsigned long eoi; | ||
193 | unsigned long irr[4]; | ||
194 | unsigned long itv; | ||
195 | unsigned long pmv; | ||
196 | unsigned long cmcv; | ||
197 | unsigned long rsv5[5]; | ||
198 | unsigned long lrr0; | ||
199 | unsigned long lrr1; | ||
200 | unsigned long rsv6[46]; | ||
201 | }; | ||
202 | }; | ||
170 | }; | 203 | }; |
171 | 204 | ||
172 | struct kvm_regs { | 205 | struct kvm_regs { |