15#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_IRQ_H_
16#define ZEPHYR_INCLUDE_ARCH_ARM64_IRQ_H_
30#if defined(CONFIG_ARM_CUSTOM_INTERRUPT_CONTROLLER)
31GTEXT(z_soc_irq_get_active)
36#if !defined(CONFIG_ARM_CUSTOM_INTERRUPT_CONTROLLER)
43extern void z_arm64_irq_priority_set(
unsigned int irq,
unsigned int prio,
53void z_soc_irq_init(
void);
54void z_soc_irq_enable(
unsigned int irq);
55void z_soc_irq_disable(
unsigned int irq);
56int z_soc_irq_is_enabled(
unsigned int irq);
58void z_soc_irq_priority_set(
59 unsigned int irq,
unsigned int prio,
unsigned int flags);
61unsigned int z_soc_irq_get_active(
void);
62void z_soc_irq_eoi(
unsigned int irq);
64#define arch_irq_enable(irq) z_soc_irq_enable(irq)
65#define arch_irq_disable(irq) z_soc_irq_disable(irq)
66#define arch_irq_is_enabled(irq) z_soc_irq_is_enabled(irq)
68#define z_arm64_irq_priority_set(irq, prio, flags) \
69 z_soc_irq_priority_set(irq, prio, flags)
73extern void z_arm64_interrupt_init(
void);
85#define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \
87 Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
88 z_arm64_irq_priority_set(irq_p, priority_p, flags_p); \
91#define ARCH_IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p) \
93 Z_ISR_DECLARE(irq_p, ISR_FLAG_DIRECT, isr_p, NULL); \
94 z_arm64_irq_priority_set(irq_p, priority_p, flags_p); \
98extern void z_irq_spurious(
const void *unused);
100#ifdef CONFIG_GEN_SW_ISR_TABLE
105extern void _isr_wrapper(
void);
void arch_irq_disable(unsigned int irq)
int arch_irq_is_enabled(unsigned int irq)
void arch_irq_enable(unsigned int irq)
flags
Definition: http_parser.h:131
Public interface for configuring interrupts.
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
Software-managed ISR table.