MOS Source Code
|
Go to the source code of this file.
Macros | |
#define | PLIC pa_va(0x0c000000L) |
#define | PLIC_PRIORITY (PLIC + 0x0) |
#define | PLIC_PENDING (PLIC + 0x1000) |
#define | PLIC_MENABLE(hart) |
#define | PLIC_SENABLE(hart) |
#define | PLIC_MPRIORITY(hart) |
#define | PLIC_SPRIORITY(hart) |
#define | PLIC_MCLAIM(hart) |
#define | PLIC_SCLAIM(hart) |
#define | PLIC_IRQPRIO(irq) |
Functions | |
u32 | plic_claim_irq () |
void | plic_complete (u32 irq) |
void | plic_enable_irq (u32 irq) |
#define PLIC_MENABLE | ( | hart | ) |
#define PLIC_SENABLE | ( | hart | ) |
Definition at line 14 of file plic.c.
Referenced by plic_enable_irq().
#define PLIC_MPRIORITY | ( | hart | ) |
#define PLIC_SPRIORITY | ( | hart | ) |
Definition at line 16 of file plic.c.
Referenced by plic_enable_irq().
#define PLIC_MCLAIM | ( | hart | ) |
#define PLIC_SCLAIM | ( | hart | ) |
Definition at line 18 of file plic.c.
Referenced by plic_claim_irq(), and plic_complete().
#define PLIC_IRQPRIO | ( | irq | ) |
u32 plic_claim_irq | ( | ) |
Definition at line 22 of file plic.c.
Referenced by riscv64_trap_handler().
Definition at line 27 of file plic.c.
Referenced by riscv64_trap_handler().
Definition at line 32 of file plic.c.
Referenced by platform_startup_late().