|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
OpenRISC public interrupt handling. More...
#include <openrisc/openriscregs.h>Go to the source code of this file.
Macros | |
| #define | SPR_SR_IRQ_MASK (SPR_SR_IEE | SPR_SR_TEE) |
| #define | OR1K_PIC_NUM_INTERRUPTS 32 |
| #define | CONFIG_NUM_IRQS OR1K_PIC_NUM_INTERRUPTS |
| #define | arch_irq_enable(irq) |
| #define | arch_irq_disable(irq) |
| #define | arch_irq_is_enabled(irq) |
Functions | |
| static ALWAYS_INLINE unsigned int | arch_irq_lock (void) |
| static ALWAYS_INLINE void | arch_irq_unlock (unsigned int key) |
| static ALWAYS_INLINE bool | arch_irq_unlocked (unsigned int key) |
| static ALWAYS_INLINE void | openrisc_irq_enable (unsigned int irq) |
| Enable interrupt on OpenRISC core. | |
| static ALWAYS_INLINE void | openrisc_irq_disable (unsigned int irq) |
| Disable interrupt on OpenRISC core. | |
| static ALWAYS_INLINE int | openrisc_irq_is_enabled (unsigned int irq) |
OpenRISC public interrupt handling.
| #define arch_irq_disable | ( | irq | ) |
| #define arch_irq_enable | ( | irq | ) |
| #define arch_irq_is_enabled | ( | irq | ) |
| #define CONFIG_NUM_IRQS OR1K_PIC_NUM_INTERRUPTS |
| #define OR1K_PIC_NUM_INTERRUPTS 32 |
| #define SPR_SR_IRQ_MASK (SPR_SR_IEE | SPR_SR_TEE) |
|
static |
|
static |
|
static |
|
static |
Disable interrupt on OpenRISC core.
| irq | Interrupt to be disabled. |
|
static |
Enable interrupt on OpenRISC core.
| irq | Interrupt to be enabled. |
|
static |