File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/kernel/gen_isr_table/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212#include <zephyr/interrupt_util.h>
1313#include <zephyr/sys/barrier.h>
1414
15- extern uint32_t _irq_vector_table [];
15+ extern uintptr_t _irq_vector_table [];
1616
1717#if defined(ARCH_IRQ_DIRECT_CONNECT ) && defined(CONFIG_GEN_IRQ_VECTOR_TABLE )
1818#define HAS_DIRECT_IRQS
@@ -226,7 +226,7 @@ static int check_vector(void *isr, int offset)
226226 TC_PRINT ("Checking _irq_vector_table entry %d for irq %d\n" ,
227227 TABLE_INDEX (offset ), IRQ_LINE (offset ));
228228
229- if (_irq_vector_table [TABLE_INDEX (offset )] != (uint32_t )isr ) {
229+ if (_irq_vector_table [TABLE_INDEX (offset )] != (uintptr_t )isr ) {
230230 TC_PRINT ("bad entry %d in vector table\n" , TABLE_INDEX (offset ));
231231 return -1 ;
232232 }
You can’t perform that action at this time.
0 commit comments