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] [ppc] more info on register dumps

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [ppc] more info on register dumps
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 06 Jun 2006 21:20:29 +0000
Delivery-date: Tue, 06 Jun 2006 14:30:03 -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 687d543431318f725f9b92f677a6bb8c140e12d1
# Parent  517ce601ae9d49a63fd14d61a5f6a060fbf2853c
[ppc] more info on register dumps
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 xen/arch/ppc/ppc64/traps.c |    7 +++++++
 1 files changed, 7 insertions(+)

diff -r 517ce601ae9d -r 687d54343131 xen/arch/ppc/ppc64/traps.c
--- a/xen/arch/ppc/ppc64/traps.c        Mon Jun 05 14:57:12 2006 -0400
+++ b/xen/arch/ppc/ppc64/traps.c        Tue Jun 06 17:17:36 2006 -0400
@@ -21,12 +21,19 @@
 #include <xen/lib.h>
 #include <xen/console.h>
 #include <public/xen.h>
+#include <xen/compile.h>
+#include <xen/sched.h>
 
 void show_registers(struct cpu_user_regs *regs)
 {
     int i;
 
     console_start_sync();
+    
+    printk("----[ Xen-%d.%d%s     ]----\n",
+           XEN_VERSION, XEN_SUBVERSION, XEN_EXTRAVERSION);
+    printk("CPU: %08x   DOMID: %08x\n",
+           smp_processor_id(), current->domain->domain_id);
     printk("pc %016lx msr %016lx\n  lr %016lx ctr %016lx\n",
             regs->pc, regs->msr, regs->lr, regs->ctr);
     for (i=0; i<32; i+=4) {

_______________________________________________
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] [ppc] more info on register dumps, Xen patchbot-xenppc-unstable <=