Revision 001faf32 hw/arm_gic.c
b/hw/arm_gic.c | ||
---|---|---|
14 | 14 |
//#define DEBUG_GIC |
15 | 15 |
|
16 | 16 |
#ifdef DEBUG_GIC |
17 |
#define DPRINTF(fmt, args...) \
|
|
18 |
do { printf("arm_gic: " fmt , ##args); } while (0)
|
|
17 |
#define DPRINTF(fmt, ...) \ |
|
18 |
do { printf("arm_gic: " 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 |
#ifdef NVIC |
Also available in: Unified diff