|
bagder: firmware debug.c,1.24,1.25: msg#00189systems.archos.rockbox.cvs
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> |
|---|---|---|
| Previous by Date: | bagder: firmware/export config-gmini120.h, 1.5, 1.6 config-h100.h, 1.11, 1.12 config.h, 1.18, 1.19: 00189, cvs |
|---|---|
| Next by Date: | bagder: firmware SOURCES,1.11,1.12: 00189, cvs |
| Previous by Thread: | bagder: firmware/export config-gmini120.h, 1.5, 1.6 config-h100.h, 1.11, 1.12 config.h, 1.18, 1.19i: 00189, cvs |
| Next by Thread: | bagder: firmware SOURCES,1.11,1.12: 00189, cvs |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |