On 02/07/2018 05:28 PM, Michael Clark wrote:
> Implements the physical memory protection extension as specified in
> Privileged ISA Version 1.10.
> PMP (Physical Memory Protection) is as-of-yet unused and needs testing.
> The SiFive verification team have PMP test cases that will be run.
> Nothing currently depends on PMP support. It would be preferable to keep
> the code in-tree for folk that are interested in RISC-V PMP support.
> Signed-off-by: Michael Clark <m...@sifive.com>
> target/riscv/pmp.c | 386
> target/riscv/pmp.h | 70 ++++++++++
> 2 files changed, 456 insertions(+)
> create mode 100644 target/riscv/pmp.c
> create mode 100644 target/riscv/pmp.h
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>