target/riscv: Do not include 'pmp.h' in user emulation
commitbbf3d1b48fe170c0220a2267117d8a1ea9c2c2a3
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 16 May 2021 20:53:33 +0000 (16 22:53 +0200)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 7 Jun 2021 23:59:43 +0000 (8 09:59 +1000)
treecf7fbd7bc18d759bc07a14474587e96c92467041
parent6debd840c8fedee6a378b05800d3382864e3564d
target/riscv: Do not include 'pmp.h' in user emulation

Physical Memory Protection is a system feature.
Avoid polluting the user-mode emulation by its definitions.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-id: 20210516205333.696094-1-f4bug@amsat.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu.h