ssekar15 commented on code in PR #21504: URL: https://github.com/apache/nuttx/pull/21504#discussion_r4510458312
########## arch/tricore/src/common/tricore_irq.c: ########## @@ -36,9 +36,14 @@ #include "tricore_internal.h" -#include "IfxSrc.h" -#include "IfxCpu.h" -#include "IfxInt_reg.h" +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/* Service request control register of an IRQ */ + +#define TRICORE_SRC(irq) \ Review Comment: sorry I have only one entry in .c file, help to find the location of repeated entry? ``` ~/repo/nuttx (native-2.2-irq) $ grep -irnw TRICORE_SRC arch/tricore/* arch/tricore/src/common/tricore_irq.c:45:#define TRICORE_SRC(irq) \ arch/tricore/src/common/tricore_irq.c:132: tricore_src_init(TRICORE_SRC(irq), cpu, IRQ_TO_NDX(irq)); arch/tricore/src/common/tricore_irq.c:138: tricore_src_init(TRICORE_SRC(TRICORE_GPSR_IRQNUM(6, cpu)), cpu, arch/tricore/src/common/tricore_irq.c:185: volatile uint32_t *src = TRICORE_SRC(irq); arch/tricore/src/common/tricore_irq.c:202: volatile uint32_t *src = TRICORE_SRC(irq); arch/tricore/src/common/tricore_irq.c:218: volatile uint32_t *src = TRICORE_SRC(irq); arch/tricore/src/common/tricore_irq.c:240: *TRICORE_SRC(irq) |= TRICORE_SRC_CLRR; arch/tricore/src/common/tricore_irq.c:269: volatile uint32_t *src = TRICORE_SRC(irq); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
