|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [xenppc-unstable] [ppc] more info on register dumps
# 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 <=
|
|
|
|
|