logo       

bagder: firmware debug.c,1.24,1.25: msg#00189

systems.archos.rockbox.cvs

Subject: bagder: firmware debug.c,1.24,1.25

Update of /cvsroot/rockbox/firmware
In directory labb:/tmp/cvs-serv12588

Modified Files:
debug.c
Log Message:
Made almost the entire file dependent on SH7034. This probably needs attention.


Index: debug.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/debug.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- debug.c 27 Jan 2005 12:08:08 -0000 1.24
+++ debug.c 27 Jan 2005 19:17:08 -0000 1.25
@@ -16,11 +16,12 @@
* KIND, either express or implied.
*
****************************************************************************/
-#include "sh7034.h"
+
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include "config.h"
+#include "cpu.h"

#ifdef DEBUG
static char debugmembuf[100];
@@ -46,6 +47,7 @@
}

#ifdef DEBUG
+#if CONFIG_CPU == SH7034 /* these are still very SH-oriented */
static int debug_tx_ready(void)
{
return (SSR1 & SCI_TDRE);
@@ -195,6 +197,7 @@
mem2hex(msg, &debugbuf[1], strlen(msg));
putpacket(debugbuf);
}
+#endif /* SH7034 */
#endif /* end of DEBUG section */

#ifdef __GNUC__

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise