From: Stefan E. <se...@us...> - 2001-11-05 09:19:28
|
Update of /cvsroot/blob/blob/include/blob/arch In directory usw-pr-cvs1:/tmp/cvs-serv10758 Modified Files: system3.h Log Message: - add some macros Index: system3.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/system3.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- system3.h 2001/11/05 07:23:09 1.5 +++ system3.h 2001/11/05 09:19:24 1.6 @@ -116,5 +116,16 @@ #endif #endif +/* Debugging macros used in system 3 code */ +#define SYSTEM3_DEBUG 1 + +#ifdef SYSTEM3_DEBUG +# define _DBGU32( x ) SerialOutputString( #x"=0x" ); \ + SerialOutputHex( (u32)x ); \ + SerialOutputByte( '\n' ); +#else +# define _DBGU32( x ) +#endif + #endif |