Implementation of the kernels irq interface. More...
Implementation of the kernels irq interface.
Definition in file irq_arch.h.
Go to the source code of this file.
#define | CPU_CSR_MCAUSE_CAUSE_MSK (0x0fffu) |
Bit mask for the MCAUSE register. | |
volatile int | riscv_in_isr |
static unsigned int | irq_enable (void) |
Enable all maskable interrupts. | |
static unsigned int | irq_disable (void) |
Disable all maskable interrupts. | |
static void | irq_restore (unsigned int state) |
Restore the state of the IRQ flags. | |
static bool | irq_is_in (void) |
See if the current context is inside an ISR. | |
static bool | irq_is_enabled (void) |