From ed30037e48073a7d855fce58c1dfc563e446ff6c Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 24 Jun 2005 10:46:24 +0000 Subject: bitkeeper revision 1.1751 (42bbe480z9Fp_L5Tc500W8c8CL3g9A) Rationalise x86 CRn guest state into a ctrlreg array in the per-vcpu context structure. Most noticeably this means the pt_base field has gone away -- replaced by ctrlreg[3] (CR3). VCPU_guest_stts is also gone -- it was never arch-independent anyway. Signed-off-by: Keir Fraser --- freebsd-5.3-xen-sparse/i386-xen/i386-xen/mp_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'freebsd-5.3-xen-sparse') diff --git a/freebsd-5.3-xen-sparse/i386-xen/i386-xen/mp_machdep.c b/freebsd-5.3-xen-sparse/i386-xen/i386-xen/mp_machdep.c index d084a54303..80e0a7a98c 100644 --- a/freebsd-5.3-xen-sparse/i386-xen/i386-xen/mp_machdep.c +++ b/freebsd-5.3-xen-sparse/i386-xen/i386-xen/mp_machdep.c @@ -974,7 +974,7 @@ start_ap(int apic_id) ctxt.failsafe_callback_cs = __KERNEL_CS; ctxt.failsafe_callback_eip = (unsigned long)failsafe_callback; - ctxt.pt_base = (vm_paddr_t)IdlePTD; + ctxt.ctrlreg[3] = (vm_paddr_t)IdlePTD; boot_error = HYPERVISOR_boot_vcpu(bootAP, &ctxt); -- cgit v1.2.3