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] ia64: Minor cleanup

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] ia64: Minor cleanup
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 05 Apr 2005 15:58:08 +0000
Delivery-date: Wed, 06 Apr 2005 13:03:11 +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.1236.59.3, 2005/04/05 09:58:08-06:00, djm@djmnc4000.(none)

        ia64: Minor cleanup



 arch/ia64/domain.c      |    3 ++-
 include/asm-ia64/vhpt.h |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)


diff -Nru a/xen/arch/ia64/domain.c b/xen/arch/ia64/domain.c
--- a/xen/arch/ia64/domain.c    2005-04-06 09:03:18 -04:00
+++ b/xen/arch/ia64/domain.c    2005-04-06 09:03:18 -04:00
@@ -246,13 +246,14 @@
 #endif
        regs = (struct pt_regs *) ((unsigned long) ed + IA64_STK_OFFSET) - 1;
        sw = (struct switch_stack *) regs - 1;
+       memset(sw,0,sizeof(struct switch_stack)+sizeof(struct pt_regs));
        new_rbs = (unsigned long) ed + IA64_RBS_OFFSET;
        regs->cr_ipsr = ia64_getreg(_IA64_REG_PSR)
                | IA64_PSR_BITS_TO_SET | IA64_PSR_BN
                & ~(IA64_PSR_BITS_TO_CLEAR | IA64_PSR_RI | IA64_PSR_IS);
        regs->cr_ipsr |= 2UL << IA64_PSR_CPL0_BIT; // domain runs at PL2
        regs->cr_iip = start_pc;
-       regs->ar_rsc = 0xf;             /* eager mode, privilege level 1 */
+       regs->ar_rsc = 0;               /* lazy mode */
        regs->ar_rnat = 0;
        regs->ar_fpsr = sw->ar_fpsr = FPSR_DEFAULT;
        regs->loadrs = 0;
diff -Nru a/xen/include/asm-ia64/vhpt.h b/xen/include/asm-ia64/vhpt.h
--- a/xen/include/asm-ia64/vhpt.h       2005-04-06 09:03:18 -04:00
+++ b/xen/include/asm-ia64/vhpt.h       2005-04-06 09:03:18 -04:00
@@ -135,7 +135,7 @@
 // VHPT_CCHAIN_LOOKUP is intended to run with psr.i+ic off
 #define VHPT_CCHAIN_LOOKUP(Name, i_or_d)                       \
                                                                \
-Name:;                                                         \
+CC_##Name:;                                                    \
        mov r31 = pr;                                           \
        mov r16 = cr.ifa;                                       \
        movl r30 = int_counts;                                  \

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] ia64: Minor cleanup, BitKeeper Bot <=