WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Fill more registers for vcpu_getco

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Fill more registers for vcpu_getcontext
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 04 Oct 2007 17:40:25 -0700
Delivery-date: Thu, 04 Oct 2007 18:29:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1190050251 21600
# Node ID 082faaa306e090e9e1a61b687dab11869ecab27f
# Parent  b91d16ab68be801382c4b7ef99fa6b6929856bae
[IA64] Fill more registers for vcpu_getcontext

Signed-off-by: Tristan Gingold <tgingold@xxxxxxx>
---
 xen/arch/ia64/xen/domain.c |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff -r b91d16ab68be -r 082faaa306e0 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Mon Sep 17 11:26:21 2007 -0600
+++ b/xen/arch/ia64/xen/domain.c        Mon Sep 17 11:30:51 2007 -0600
@@ -733,8 +733,27 @@ void arch_get_info_guest(struct vcpu *v,
        if (!v->domain->arch.is_vti && v->arch.privregs == NULL)
                return;
 
-       vcpu_get_dcr (v, &c.nat->regs.cr.dcr);
-       vcpu_get_iva (v, &c.nat->regs.cr.iva);
+       vcpu_get_dcr(v, &c.nat->regs.cr.dcr);
+
+       c.nat->regs.cr.itm = v->domain->arch.is_vti ?
+               vmx_vcpu_get_itm(v) : PSCBX(v, domain_itm);
+       vcpu_get_iva(v, &c.nat->regs.cr.iva);
+       vcpu_get_pta(v, &c.nat->regs.cr.pta);
+
+       vcpu_get_ipsr(v, &c.nat->regs.cr.ipsr);
+       vcpu_get_isr(v, &c.nat->regs.cr.isr);
+       vcpu_get_iip(v, &c.nat->regs.cr.iip);
+       vcpu_get_ifa(v, &c.nat->regs.cr.ifa);
+       vcpu_get_ivr(v, &c.nat->regs.cr.ivr);
+
+       vcpu_get_tpr(v, &c.nat->regs.cr.tpr);
+       vcpu_get_irr0(v, &c.nat->regs.cr.irr[0]);
+       vcpu_get_irr1(v, &c.nat->regs.cr.irr[1]);
+       vcpu_get_irr2(v, &c.nat->regs.cr.irr[2]);
+       vcpu_get_irr3(v, &c.nat->regs.cr.irr[3]);
+       vcpu_get_itv(v, &c.nat->regs.cr.itv);
+       vcpu_get_pmv(v, &c.nat->regs.cr.pmv);
+       vcpu_get_cmcv(v, &c.nat->regs.cr.cmcv);
 }
 
 int arch_set_info_guest(struct vcpu *v, vcpu_guest_context_u c)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Fill more registers for vcpu_getcontext, Xen patchbot-unstable <=