ia64/xen-unstable

changeset 15890:082faaa306e0

[IA64] Fill more registers for vcpu_getcontext

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author Alex Williamson <alex.williamson@hp.com>
date Mon Sep 17 11:30:51 2007 -0600 (2007-09-17)
parents b91d16ab68be
children fdd298b75fb5
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Mon Sep 17 11:26:21 2007 -0600
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Mon Sep 17 11:30:51 2007 -0600
     1.3 @@ -733,8 +733,27 @@ void arch_get_info_guest(struct vcpu *v,
     1.4   	if (!v->domain->arch.is_vti && v->arch.privregs == NULL)
     1.5  		return;
     1.6  
     1.7 -	vcpu_get_dcr (v, &c.nat->regs.cr.dcr);
     1.8 -	vcpu_get_iva (v, &c.nat->regs.cr.iva);
     1.9 +	vcpu_get_dcr(v, &c.nat->regs.cr.dcr);
    1.10 +
    1.11 +	c.nat->regs.cr.itm = v->domain->arch.is_vti ?
    1.12 +		vmx_vcpu_get_itm(v) : PSCBX(v, domain_itm);
    1.13 +	vcpu_get_iva(v, &c.nat->regs.cr.iva);
    1.14 +	vcpu_get_pta(v, &c.nat->regs.cr.pta);
    1.15 +
    1.16 +	vcpu_get_ipsr(v, &c.nat->regs.cr.ipsr);
    1.17 +	vcpu_get_isr(v, &c.nat->regs.cr.isr);
    1.18 +	vcpu_get_iip(v, &c.nat->regs.cr.iip);
    1.19 +	vcpu_get_ifa(v, &c.nat->regs.cr.ifa);
    1.20 +	vcpu_get_ivr(v, &c.nat->regs.cr.ivr);
    1.21 +
    1.22 +	vcpu_get_tpr(v, &c.nat->regs.cr.tpr);
    1.23 +	vcpu_get_irr0(v, &c.nat->regs.cr.irr[0]);
    1.24 +	vcpu_get_irr1(v, &c.nat->regs.cr.irr[1]);
    1.25 +	vcpu_get_irr2(v, &c.nat->regs.cr.irr[2]);
    1.26 +	vcpu_get_irr3(v, &c.nat->regs.cr.irr[3]);
    1.27 +	vcpu_get_itv(v, &c.nat->regs.cr.itv);
    1.28 +	vcpu_get_pmv(v, &c.nat->regs.cr.pmv);
    1.29 +	vcpu_get_cmcv(v, &c.nat->regs.cr.cmcv);
    1.30  }
    1.31  
    1.32  int arch_set_info_guest(struct vcpu *v, vcpu_guest_context_u c)