Module plic

Source
Expand description

RISC-V Platform-Level Interrupt Controller (PLIC) Implementation

The PLIC is responsible for managing external interrupts from devices and routing them to different CPUs with priority support.

Structsยง

Plic
RISC-V PLIC Implementation

Constantsยง

MAX_CPUS ๐Ÿ”’
Maximum number of CPUs supported by this PLIC implementation
MAX_INTERRUPTS ๐Ÿ”’
Maximum number of interrupts supported by this PLIC implementation
PLIC_CLAIM_BASE ๐Ÿ”’
PLIC_CONTEXT_STRIDE ๐Ÿ”’
PLIC context stride for threshold/claim registers (per context)
PLIC_ENABLE_BASE ๐Ÿ”’
PLIC_ENABLE_CONTEXT_STRIDE ๐Ÿ”’
PLIC context stride for enable registers (per context)
PLIC_PENDING_BASE ๐Ÿ”’
PLIC_PRIORITY_BASE ๐Ÿ”’
PLIC register offsets
PLIC_THRESHOLD_BASE ๐Ÿ”’

Staticsยง

__EARLY_INITCALL__ ๐Ÿ”’

Functionsยง

probe_fn ๐Ÿ”’
register_driver ๐Ÿ”’
remove_fn ๐Ÿ”’