logo       

bagder: firmware debug.c,1.23,1.24: msg#00181

systems.archos.rockbox.cvs

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

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

Modified Files:
debug.c
Log Message:
SH stuff only on SH


Index: debug.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/debug.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- debug.c 16 Aug 2004 23:37:23 -0000 1.23
+++ debug.c 27 Jan 2005 12:08:08 -0000 1.24
@@ -33,6 +33,7 @@

void debug_init(void)
{
+#if CONFIG_CPU == SH7034
/* Clear it all! */
SSR1 &= ~(SCI_RDRF | SCI_ORER | SCI_PER | SCI_FER);

@@ -41,6 +42,7 @@
SCR1 |= 0x40;
SCR1 &= ~0x80;
IPRE |= 0xf000; /* Set to highest priority */
+#endif
}

#ifdef DEBUG

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



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

News | FAQ | advertise