[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XenPPC] [pushed] [ppc]sync console around show_registers()



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.