diff options
-rw-r--r-- | target/riscv/pmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/riscv/pmp.c b/target/riscv/pmp.c index 2bc9243..3c90562 100644 --- a/target/riscv/pmp.c +++ b/target/riscv/pmp.c @@ -316,6 +316,7 @@ int pmp_hart_has_privs(CPURISCVState *env, target_ulong addr, allowed_privs, mode)) { ret = MAX_RISCV_PMPS; } + return ret; } if (size == 0) { |