diff options
author | Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk> | 2019-06-14 05:19:02 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2019-06-23 23:44:42 -0700 |
commit | 1f447aec787bfbbd078afccae44fc4c92acb4fed (patch) | |
tree | fb3d3dc4c85ffbbc5c85dd627ba430a0343d5720 /target/riscv/pmp.c | |
parent | cc0fdb298517ce56c770803447f8b02a90271152 (diff) | |
download | qemu-1f447aec787bfbbd078afccae44fc4c92acb4fed.zip |
RISC-V: Check PMP during Page Table Walks
The PMP should be checked when doing a page table walk, and report access
fault exception if the to-be-read PTE failed the PMP check.
Suggested-by: Jonathan Behrens <fintelia@gmail.com>
Signed-off-by: Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'target/riscv/pmp.c')
0 files changed, 0 insertions, 0 deletions