Changeset 518 for GPL/trunk/include


Ignore:
Timestamp:
Jul 20, 2010, 5:46:55 PM (15 years ago)
Author:
David Azarewicz
Message:

Some of my updates from the 2.1.x branch

Location:
GPL/trunk/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/include/dbgos2.h

    r501 r518  
    3232extern int wrOffset;
    3333extern char *szprintBuf;
    34 //void _cdecl DPD(int level, char *x, ...) ; /* not debugging: nothing */
    35 void _cdecl DPE(char *x, ...) ; /* not debugging: nothing */
     34//void _cdecl DPE(char *x, ...) ; /* not debugging: nothing */
     35int _cdecl printk(const char * fmt, ...);
    3636#ifdef __cplusplus
    3737}
    3838#endif
    3939
     40
    4041/* rprintf always prints to the log buffer, and to SIO if enabled */
    41 #define rprintf(a) DPE a
     42#define rprintf(a) printk a
    4243
    4344/* the dprintf functions only print if DEBUG is defined */
    4445#ifdef DEBUG
    4546#define DBG_MAX_BUF_SIZE 0x100000
    46 #define dprintf(a)      DPE a
    47 #define dprintf1(a)     if(DebugLevel > 0) DPE a
    48 #define dprintf2(a)     if(DebugLevel > 1) DPE a
    49 #define dprintf3(a)     if(DebugLevel > 2) DPE a
     47#define dprintf(a)      printk a
     48#define dprintf1(a)     if(DebugLevel > 0) printk a
     49#define dprintf2(a)     if(DebugLevel > 1) printk a
     50#define dprintf3(a)     if(DebugLevel > 2) printk a
    5051#define DebugInt3()     ; //_asm int 3
    5152//#define DebInt3()     _asm int 3;
  • GPL/trunk/include/proto.h

    r479 r518  
    44extern int _snd_pcm_hw_param_set(struct snd_pcm_hw_params *params, snd_pcm_hw_param_t var, unsigned int val, int dir);
    55extern int in_interrupt(void);
     6extern int in_atomic(void);
    67/*
    78 * Uniaud API support
  • GPL/trunk/include/unicard.h

    r455 r518  
    5151#define CARD_CS5535     21
    5252
    53 #define CARDS_NUM       21
     53#define CARDS_NUM       22
    5454
    5555#define CARD_STRING_SBLIVE      "SBLIVE"
Note: See TracChangeset for help on using the changeset viewer.