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] Add emulation to rsm.be, which is first encounted in gue

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Add emulation to rsm.be, which is first encounted in guest fast syscall
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 03 Aug 2005 05:26:15 -0400
Delivery-date: Wed, 03 Aug 2005 09:27:29 +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-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User fred@xxxxxxxxxxxxxxxxxxxxx
# Node ID a64dae7a0344db63f33c9403fa7f2fd59dde32cd
# Parent  40bddfe9e3903a09b9b5751b68c59c8686bd04d4
Add emulation to rsm.be, which is first encounted in guest fast syscall
path, where little endian is forced just after epc.

Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>

diff -r 40bddfe9e390 -r a64dae7a0344 xen/arch/ia64/vcpu.c
--- a/xen/arch/ia64/vcpu.c      Thu Jul 28 08:57:06 2005
+++ b/xen/arch/ia64/vcpu.c      Thu Jul 28 09:26:30 2005
@@ -155,7 +155,7 @@
        // interrupt collection flag
        //if (imm.ic) PSCB(vcpu,interrupt_delivery_enabled) = 0;
        // just handle psr.up and psr.pp for now
-       if (imm24 & ~(IA64_PSR_PP | IA64_PSR_UP | IA64_PSR_SP
+       if (imm24 & ~(IA64_PSR_BE | IA64_PSR_PP | IA64_PSR_UP | IA64_PSR_SP
                | IA64_PSR_I | IA64_PSR_IC | IA64_PSR_DT
                | IA64_PSR_DFL | IA64_PSR_DFH))
                        return (IA64_ILLOP_FAULT);
@@ -164,6 +164,7 @@
        if (imm.pp) { ipsr->pp = 0; psr.pp = 0; }
        if (imm.up) { ipsr->up = 0; psr.up = 0; }
        if (imm.sp) { ipsr->sp = 0; psr.sp = 0; }
+       if (imm.be) ipsr->be = 0;
        if (imm.dt) vcpu_set_metaphysical_mode(vcpu,TRUE);
        __asm__ __volatile (";; mov psr.l=%0;; srlz.d"::"r"(psr):"memory");
        return IA64_NO_FAULT;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Add emulation to rsm.be, which is first encounted in guest fast syscall, Xen patchbot -unstable <=