Revision 001faf32 hw/pl031.c

b/hw/pl031.c
16 16
//#define DEBUG_PL031
17 17

  
18 18
#ifdef DEBUG_PL031
19
#define DPRINTF(fmt, args...) \
20
do { printf("pl031: " fmt , ##args); } while (0)
19
#define DPRINTF(fmt, ...) \
20
do { printf("pl031: " fmt , ## __VA_ARGS__); } while (0)
21 21
#else
22
#define DPRINTF(fmt, args...) do {} while(0)
22
#define DPRINTF(fmt, ...) do {} while(0)
23 23
#endif
24 24

  
25 25
#define RTC_DR      0x00    /* Data read register */

Also available in: Unified diff