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] [POWERPC][XEN] Sync console around program ex

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [POWERPC][XEN] Sync console around program exceptions
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Sep 2006 22:50:31 +0000
Delivery-date: Sat, 16 Sep 2006 06:38:24 -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 Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 2d41938a5599faf3b03c74b04e353b9aef1c9a9c
# Parent  88f394c082fc543e7826b880ac5b9694b3b94559
[POWERPC][XEN] Sync console around program exceptions

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 xen/arch/powerpc/exceptions.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -r 88f394c082fc -r 2d41938a5599 xen/arch/powerpc/exceptions.c
--- a/xen/arch/powerpc/exceptions.c     Fri Sep 15 13:03:27 2006 -0400
+++ b/xen/arch/powerpc/exceptions.c     Fri Sep 15 18:19:46 2006 -0400
@@ -24,6 +24,7 @@
 #include <xen/sched.h>
 #include <xen/serial.h>
 #include <xen/gdbstub.h>
+#include <xen/console.h>
 #include <asm/time.h>
 #include <asm/processor.h>
 
@@ -60,6 +61,8 @@ void program_exception(struct cpu_user_r
 #else /* CRASH_DEBUG */
     int recover = 0;
 
+    console_start_sync();
+
     show_registers(regs);
     printk("dar 0x%016lx, dsisr 0x%08x\n", mfdar(), mfdsisr());
     printk("hid4 0x%016lx\n", regs->hid4);
@@ -71,5 +74,7 @@ void program_exception(struct cpu_user_r
 
     if (!recover)
         panic("%s: 0x%lx\n", __func__, cookie);
+
+    console_end_sync();
 #endif /* CRASH_DEBUG */
 }

_______________________________________________
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] [POWERPC][XEN] Sync console around program exceptions, Xen patchbot-xenppc-unstable <=