Revision 001faf32 hw/pl181.c

b/hw/pl181.c
14 14
//#define DEBUG_PL181 1
15 15

  
16 16
#ifdef DEBUG_PL181
17
#define DPRINTF(fmt, args...) \
18
do { printf("pl181: " fmt , ##args); } while (0)
17
#define DPRINTF(fmt, ...) \
18
do { printf("pl181: " fmt , ## __VA_ARGS__); } while (0)
19 19
#else
20
#define DPRINTF(fmt, args...) do {} while(0)
20
#define DPRINTF(fmt, ...) do {} while(0)
21 21
#endif
22 22

  
23 23
#define PL181_FIFO_LEN 16

Also available in: Unified diff