]> git.ipfire.org Git - thirdparty/qemu.git/commit
RISC-V: Fix a PMP check with the correct access size
authorHesham Almatary <Hesham.Almatary@cl.cam.ac.uk>
Thu, 30 May 2019 13:51:35 +0000 (14:51 +0100)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 24 Jun 2019 06:44:42 +0000 (23:44 -0700)
commitdb21e6f72721996ddf1948c35a8ee35238089da4
treed2449f0f81102b43cb533d650d3980cb306cf292
parentf8162068f18f2f264a0355938784f54089234211
RISC-V: Fix a PMP check with the correct access size

The PMP check should be of the memory access size rather
than TARGET_PAGE_SIZE.

Signed-off-by: Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
target/riscv/cpu_helper.c