This repository has been archived by the owner on Apr 13, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target/riscv/pmp: Fix address matching, granularity and debug
- Add tracing to CSR reads and writes to pmpcfg and pmpaddr. - Rename pmp_hart_has_priv to pmp_has_access. - Simplify address matching rules and fix bug where positive matches could be missed. - Mask addresses so that granularity can be detected and enforced. - Add note regarding issue with entries whose length is less than or equal to the 2 ^ TARGET_PAGE_BITS granularity. - Convert PMP debugging to trace-events and remove redundant debugging statements.
- Loading branch information