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] [pushed] [ppc] allow for verbose debugging

changeset:   27809:ade77a1efc24855f5f76e0840e10605113bdfdae
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Fri May 19 10:36:07 2006 -0400
files:       arch/powerpc/platforms/xen/evtchn.c
description:
[ppc] allow for verbose debugging


diff -r 0163968f7fce161f427479ec6ffed893ed6ee01e -r 
ade77a1efc24855f5f76e0840e10605113bdfdae arch/powerpc/platforms/xen/evtchn.c
--- a/arch/powerpc/platforms/xen/evtchn.c       Tue May 16 15:55:19 2006 -0400
+++ b/arch/powerpc/platforms/xen/evtchn.c       Fri May 19 10:36:07 2006 -0400
@@ -1,8 +1,18 @@
+
+#define DEBUG
 
 #include <linux/module.h>
 #include <xen/evtchn.h>
 #include <asm/mpic.h>
 #include <asm/machdep.h>
+#include <asm/of_device.h>
+#include <asm/udbg.h>
+
+#ifdef DEBUG
+#define DBG(fmt...) udbg_printf(fmt)
+#else
+#define DBG(fmt...)
+#endif
 
 /*
  * We are currently letting Dom0 control the mpic. However, Xen will



_______________________________________________
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] [pushed] [ppc] allow for verbose debugging, jimix <=