14#ifndef ZEPHYR_INCLUDE_SW_ISR_TABLE_H_
15#define ZEPHYR_INCLUDE_SW_ISR_TABLE_H_
17#if !defined(_ASMLANGUAGE)
30struct _isr_table_entry {
32 void (*isr)(
const void *);
38extern struct _isr_table_entry _sw_isr_table[];
59#define ISR_FLAG_DIRECT BIT(0)
61#define _MK_ISR_NAME(x, y) __MK_ISR_NAME(x, y)
62#define __MK_ISR_NAME(x, y) __isr_ ## x ## _irq_ ## y
68#define Z_ISR_DECLARE(irq, flags, func, param) \
69 static Z_DECL_ALIGN(struct _isr_list) Z_GENERIC_SECTION(.intList) \
70 __used _MK_ISR_NAME(func, __COUNTER__) = \
71 {irq, flags, (void *)&func, (const void *)param}
73#define IRQ_TABLE_SIZE (CONFIG_NUM_IRQS - CONFIG_GEN_IRQ_START_VECTOR)
75#ifdef CONFIG_DYNAMIC_INTERRUPTS
76void z_isr_install(
unsigned int irq,
void (*routine)(
const void *),
void
Definition: eswifi_shell.c:15
flags
Definition: http_parser.h:131
__INT32_TYPE__ int32_t
Definition: stdint.h:44