From: Michel Pollet Date: Tue, 7 Mar 2017 18:33:27 +0000 (+0000) Subject: mmcu: Added tag for tracing pending IRQs X-Git-Tag: v1.6~48^2~7 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=8ce1b2d508169579cb479d5a095e48ba8a7c64f1;p=sx%2Fsimavr.git mmcu: Added tag for tracing pending IRQs This was missing from the header. Signed-off-by: Michel Pollet --- diff --git a/simavr/sim/avr/avr_mcu_section.h b/simavr/sim/avr/avr_mcu_section.h index fd4edc1..ebeceb0 100644 --- a/simavr/sim/avr/avr_mcu_section.h +++ b/simavr/sim/avr/avr_mcu_section.h @@ -229,9 +229,11 @@ struct avr_mmcu_vcd_trace_t { #define AVR_MCU_VCD_IRQ(_irq_name) \ AVR_MCU_VCD_IRQ_TRACE(_irq_name##_vect_num, 1, #_irq_name) #define AVR_MCU_VCD_IRQ_PENDING(_irq_name) \ - AVR_MCU_VCD_IRQ_TRACE(_irq_name##_vect_num, 0, #_irq_name " pend") + AVR_MCU_VCD_IRQ_TRACE(_irq_name##_vect_num, 0, #_irq_name "_pend") #define AVR_MCU_VCD_ALL_IRQ() \ AVR_MCU_VCD_IRQ_TRACE(0xff, 1, "IRQ") +#define AVR_MCU_VCD_ALL_IRQ_PENDING() \ + AVR_MCU_VCD_IRQ_TRACE(0xff, 0, "IRQ_PENDING") /*! * This tag allows you to specify the voltages used by your board