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] xenasm.S, process.c:

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] xenasm.S, process.c:
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Thu, 14 Apr 2005 18:57:42 +0000
Delivery-date: Wed, 20 Apr 2005 09:03:13 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1277.1.5, 2005/04/14 12:57:42-06:00, djm@xxxxxxxxxxxxxxx

        xenasm.S, process.c:
          properly pass shared page to domain for paravirtualization
        Signed-off-by: Dan Magenheimer <dan.magenheimer@xxxxxx>



 process.c |    7 ++++---
 xenasm.S  |    2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)


diff -Nru a/xen/arch/ia64/process.c b/xen/arch/ia64/process.c
--- a/xen/arch/ia64/process.c   2005-04-20 05:03:30 -04:00
+++ b/xen/arch/ia64/process.c   2005-04-20 05:03:30 -04:00
@@ -185,9 +185,10 @@
 
        regs->cr_iip = ((unsigned long) PSCB(ed,iva) + vector) & ~0xffUL;
        regs->cr_ipsr = (regs->cr_ipsr & ~DELIVER_PSR_CLR) | DELIVER_PSR_SET;
-// FIXME: NEED TO PASS PSCB, BUT **NOT** IN R31 WHICH IS BEING USED FOR ar.pr
-// IN ANY CASE, PASS PINNED ADDRESS, NOT THIS ONE
-       //regs->r31 = (unsigned long) &PSCB(ed);
+#ifdef CONFIG_SMP
+#error "sharedinfo doesn't handle smp yet"
+#endif
+       regs->r31 = &((shared_info_t *)SHAREDINFO_ADDR)->vcpu_data[0].arch;
 
        PSCB(ed,interrupt_delivery_enabled) = 0;
        PSCB(ed,interrupt_collection_enabled) = 0;
diff -Nru a/xen/arch/ia64/xenasm.S b/xen/arch/ia64/xenasm.S
--- a/xen/arch/ia64/xenasm.S    2005-04-20 05:03:30 -04:00
+++ b/xen/arch/ia64/xenasm.S    2005-04-20 05:03:30 -04:00
@@ -190,7 +190,7 @@
 
        movl r22=SHAREDINFO_ADDR
        ;;
-       movl r25=PAGE_KERNEL
+       movl r25=PAGE_SHARED
        ;;
        mov r21=loc5                    // saved sharedinfo physical address
        ;;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] xenasm.S, process.c:, BitKeeper Bot <=