mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 04:54:43 +08:00
2011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* network/if_sim.c: Do not use printf() except for printing statistics.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* network/if_sim.c: Do not use printf() except for printing statistics.
|
||||
|
||||
2011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* console/consupp.S, irq/irq.h, irq/irq_init.c: Add CVS Id string.
|
||||
|
||||
@@ -328,7 +328,7 @@ rtems_event_set evs;
|
||||
evs &= ((1<<IFSIM_SLOTS)-1);
|
||||
|
||||
#ifdef IRQ_DEBUG
|
||||
printf("Task got evs %u\n", evs);
|
||||
printk("Task got evs %u\n", evs);
|
||||
#endif
|
||||
|
||||
for ( sc = theIfSims; evs; evs>>=1, sc++ ) {
|
||||
@@ -367,13 +367,13 @@ rtems_event_set evs;
|
||||
{
|
||||
int i;
|
||||
for ( i=0; i<len + crc_len; ) {
|
||||
printf("%02X ",((char*)eh)[i]);
|
||||
printk("%02X ",((char*)eh)[i]);
|
||||
if ( 0 == (++i & 0xf) )
|
||||
fputc('\n',stdout);
|
||||
}
|
||||
if ( i & 0xf )
|
||||
fputc('\n', stdout);
|
||||
printf("*****\n");
|
||||
printk("*****\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user