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] [pushed] [ppc]sync console around show_registers()

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed] [ppc]sync console around show_registers()
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Date: Tue, 25 Apr 2006 14:14:09 -0400
Delivery-date: Tue, 25 Apr 2006 12:19:58 -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>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   9948:b0eae3e3b13669f4242cbabf8d43cc7557919b4e
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Tue Apr 18 14:52:18 2006 -0400
files:       xen/arch/ppc/ppc64/traps.c
description:
[ppc]sync console around show_registers()


diff -r d82fb1f2e3325bdb61a8a97043dff88ba5e7b442 -r 
b0eae3e3b13669f4242cbabf8d43cc7557919b4e xen/arch/ppc/ppc64/traps.c
--- a/xen/arch/ppc/ppc64/traps.c        Tue Apr 18 14:51:30 2006 -0400
+++ b/xen/arch/ppc/ppc64/traps.c        Tue Apr 18 14:52:18 2006 -0400
@@ -19,16 +19,19 @@
 
 #include <xen/config.h>
 #include <xen/lib.h>
+#include <xen/console.h>
 #include <public/xen.h>
 
 void show_registers(struct cpu_user_regs *regs)
 {
     int i;
 
+    console_start_sync();
     printk("pc %016lx msr %016lx lr %016lx ctr %016lx\n",
             regs->pc, regs->msr, regs->lr, regs->ctr);
     for (i=0; i<32; i+=4) {
         printk("gpr%02i: %016lx %016lx %016lx %016lx\n", i,
             regs->gprs[i], regs->gprs[i+1], regs->gprs[i+2], regs->gprs[i+3]);
     }
+    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] [pushed] [ppc]sync console around show_registers(), Jimi Xenidis <=