aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/vcpu.h
diff options
context:
space:
mode:
authortdeegan@york.uk.xensource.com <tdeegan@york.uk.xensource.com>2006-08-16 17:02:35 +0100
committertdeegan@york.uk.xensource.com <tdeegan@york.uk.xensource.com>2006-08-16 17:02:35 +0100
commit49f7c7364e0acbc44604e0315599782096eee522 (patch)
treeb9dcdab90c9598f12d5559edc96efdaf7afd0da3 /xen/include/asm-x86/hvm/vcpu.h
parente3e351919cc62f3cdabd8cef9b3a6be9ab4f13dd (diff)
downloadxen-49f7c7364e0acbc44604e0315599782096eee522.tar.gz
xen-49f7c7364e0acbc44604e0315599782096eee522.tar.bz2
xen-49f7c7364e0acbc44604e0315599782096eee522.zip
Replace shadow pagetable code with shadow2.
Diffstat (limited to 'xen/include/asm-x86/hvm/vcpu.h')
-rw-r--r--xen/include/asm-x86/hvm/vcpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/vcpu.h b/xen/include/asm-x86/hvm/vcpu.h
index f89b6ad787..b607a4578b 100644
--- a/xen/include/asm-x86/hvm/vcpu.h
+++ b/xen/include/asm-x86/hvm/vcpu.h
@@ -29,6 +29,7 @@
#define HVM_VCPU_INIT_SIPI_SIPI_STATE_WAIT_SIPI 1
struct hvm_vcpu {
+ unsigned long hw_cr3; /* value we give to HW to use */
unsigned long ioflags;
struct hvm_io_op io_op;
struct vlapic *vlapic;
@@ -40,6 +41,11 @@ struct hvm_vcpu {
int xen_port;
+#if CONFIG_PAGING_LEVELS >= 3
+ l3_pgentry_t hvm_lowmem_l3tab[4]
+ __attribute__((__aligned__(32)));
+#endif
+
/* Flags */
int flag_dr_dirty;