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-ppc-devel

[XenPPC] [xenppc-unstable] [XEN][POWERPC] Support your older compilers

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [XEN][POWERPC] Support your older compilers
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Oct 2006 15:10:32 +0000
Delivery-date: Fri, 13 Oct 2006 08:28:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User jimix@xxxxxxxxxxxxxxxxxxxxx
# Node ID 9372353e3b095cfaf82d09c8b891d9a2b58ca735
# Parent  b53c343b47ae930248f5db194b72d390e4143ccd
[XEN][POWERPC] Support your older compilers

gcc 3.3.x doesn't like some instructions we are using so lets dum them
down a bit.

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 xen/arch/powerpc/powerpc64/exceptions.S |    2 +-
 xen/arch/powerpc/setup.c                |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r b53c343b47ae -r 9372353e3b09 xen/arch/powerpc/powerpc64/exceptions.S
--- a/xen/arch/powerpc/powerpc64/exceptions.S   Wed Oct 11 13:04:07 2006 -0400
+++ b/xen/arch/powerpc/powerpc64/exceptions.S   Thu Oct 12 17:09:19 2006 -0400
@@ -587,7 +587,7 @@ 4:  dcbf r0,r9
     b .
     /* Find our index in the array of processor_area struct pointers.  */
 2:  LOADADDR(r14, global_cpu_table)
-    muli r15, r3, 8
+    mulli r15, r3, 8
     add r14, r14, r15
     /* Spin until the pointer for our processor goes valid.  */
 1:  ld r15, 0(r14)
diff -r b53c343b47ae -r 9372353e3b09 xen/arch/powerpc/setup.c
--- a/xen/arch/powerpc/setup.c  Wed Oct 11 13:04:07 2006 -0400
+++ b/xen/arch/powerpc/setup.c  Thu Oct 12 17:09:19 2006 -0400
@@ -118,7 +118,7 @@ void noinline __attn(void)
      * NOP is there to make sure there is something sane to "step
      * over" to. */
     console_start_sync();
-    asm volatile("attn");
+    asm volatile(".long 0x200;nop");
     console_end_sync();
 }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [XEN][POWERPC] Support your older compilers, Xen patchbot-xenppc-unstable <=