Changeset 7459fbf in rtems


Ignore:
Timestamp:
Sep 12, 2007, 3:38:57 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
47b29ac
Parents:
3d7fa72
Message:

2007-09-12 Daniel Hellstrom <daniel@…>

  • shared/can/grcan.c, shared/include/debug_defs.h, shared/spw/grspw.c: Remove use of DEBUG_printf.
Location:
c/src/lib/libbsp/sparc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/ChangeLog

    r3d7fa72 r7459fbf  
     12007-09-12      Daniel Hellstrom <daniel@gaisler.com>
     2
     3        * shared/can/grcan.c, shared/include/debug_defs.h, shared/spw/grspw.c:
     4        Remove use of DEBUG_printf.
     5
    162007-09-07      Daniel Hellstrom <daniel@gaisler.com>
    27
  • c/src/lib/libbsp/sparc/shared/can/grcan.c

    r3d7fa72 r7459fbf  
    104104#include <debug_defs.h>
    105105
    106 /*
    107 #ifdef DEBUG
    108 #include <debug_defs.h>
    109 #else
    110 void silentdbg_init(void);
    111 void silentdbg_printf(char *fmt, ...);
    112 void silentdbg_int_printf(char *fmt, ...);
    113 void silentdbg_get_buf(char *buf, int max);
    114 int silentdbg_print_buf(int max);
    115  extern int DEBUG_printf(const char *fmt, ...);
    116  #define DBG(fmt, args...)    do { silentdbg_printf(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__,## args); } while(0)
    117  #define DBG2(fmt)            do { silentdbg_printf(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__); } while(0)
    118  #define DBGC(c,fmt, args...) do { if (DEBUG_FLAGS & c) { silentdbg_printf(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__,## args);  }} while(0)
    119  #ifdef DEBUGFUNCS
    120   #define FUNCDBG()         do { silentdbg_printf("%s\n\r",__FUNCTION__); } while(0)
    121   #define FUNCDBG_INT()
    122  #else
    123   #define FUNCDBG()
    124   #define FUNCDBG_INT()     do { silentdbg_int_printf("%s\n\r",__FUNCTION__); } while(0)
    125  #endif
    126  
    127 #endif
    128 */
    129106/*********************************************************/
    130107
  • c/src/lib/libbsp/sparc/shared/include/debug_defs.h

    r3d7fa72 r7459fbf  
    1414 #endif
    1515
    16  extern int DEBUG_printf(const char *fmt, ...);
    1716 #define DBG(fmt, args...)    do { printk(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__,## args); } while(0)
    1817 #define DBG2(fmt)            do { printk(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__); } while(0)
     
    2928#ifdef DEBUGFUNCS
    3029  #define FUNCDBG()         do { printk("%s\n\r",__FUNCTION__); } while(0)
    31   extern int DEBUG_printf(const char *fmt, ...);
    3230#else
    3331  #define FUNCDBG()
  • c/src/lib/libbsp/sparc/shared/spw/grspw.c

    r3d7fa72 r7459fbf  
    9494 
    9595#ifdef DEBUG_SPACEWIRE_ONOFF
    96 int DEBUG_printf(const char *fmt, ...);
    9796#define SPACEWIRE_DBG(fmt, args...)    do { { printk(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__,## args); }} while(0)
    9897#define SPACEWIRE_DBG2(fmt)            do { { printk(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__); }} while(0)
Note: See TracChangeset for help on using the changeset viewer.