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

[XenPPC] [xenppc-unstable] [POWERPC][XEN] Allow the dumping if the HIDS



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID f14c5c57785499805f321ad4f7e5f45980691100
# Parent  9d85d34325b6052f1172e4d24cda3d323ffab62d
[POWERPC][XEN] Allow the dumping if the HIDS

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

diff -r 9d85d34325b6 -r f14c5c577854 xen/arch/powerpc/powerpc64/ppc970.c
--- a/xen/arch/powerpc/powerpc64/ppc970.c       Tue Aug 29 16:46:52 2006 -0400
+++ b/xen/arch/powerpc/powerpc64/ppc970.c       Tue Aug 29 17:28:45 2006 -0400
@@ -180,6 +180,14 @@ void cpu_initialize(int cpuid)
     hid5.bits.DCBZ32_ill = 0;
     mthid5(hid5.word);
 
+#ifdef DUMP_HIDS
+    printk("hid0 0x%lx\n"
+           "hid1 0x%lx\n"
+           "hid4 0x%lx\n"
+           "hid5 0x%lx\n",
+           mfhid0(), mfhid1(), mfhid4(), mfhid5());
+#endif
+
     mthior(cpu0_hior);
 
     /* for good luck */

_______________________________________________
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®.