Module pmp

Source

Modules§

kernel_protection
kernel_protection_mml_epmp
pmpcfg_octet
Generic pmpcfg octet.
simple

Structs§

NAPOTRegionSpec
A RISC-V PMP memory region specification, configured in NAPOT mode.
PMPUserMPU
Adapter from a generic PMP implementation exposing TOR-type regions to the Tock mpu::MPU trait. See TORUserPMP.
PMPUserMPUConfig
Struct storing userspace memory protection regions for the PMPUserMPU.
TORRegionSpec
A RISC-V PMP memory region specification, configured in TOR mode.
TORUserPMPCFG
A pmpcfg octet for a user-mode (non-locked) TOR-addressed PMP region.

Traits§

TORUserPMP
A RISC-V PMP implementation exposing a number of TOR memory protection regions to the PMPUserMPU.

Functions§

format_pmp_entries
Print a table of the configured PMP regions, read from the HW CSRs.