On Wed, Feb 15, 2023 at 3:25 AM Daniel Henrique Barboza <dbarb...@ventanamicro.com> wrote: > > RISCV_FEATURE_EPMP is always set to the same value as the cpu->cfg.epmp > flag. Use the flag directly. > > Reviewed-by: Weiwei Li <liwei...@iscas.ac.cn> > Signed-off-by: Daniel Henrique Barboza <dbarb...@ventanamicro.com> > --- > target/riscv/cpu.c | 10 +++------- > target/riscv/cpu.h | 1 - > target/riscv/csr.c | 2 +- > target/riscv/pmp.c | 4 ++-- > 4 files changed, 6 insertions(+), 11 deletions(-) >
Reviewed-by: Bin Meng <bm...@tinylab.org>