diff options
Diffstat (limited to 'target/riscv/pmp.h')
-rw-r--r-- | target/riscv/pmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/riscv/pmp.h b/target/riscv/pmp.h index 8e19793..6a8f072 100644 --- a/target/riscv/pmp.h +++ b/target/riscv/pmp.h @@ -60,5 +60,7 @@ void pmpaddr_csr_write(CPURISCVState *env, uint32_t addr_index, target_ulong pmpaddr_csr_read(CPURISCVState *env, uint32_t addr_index); bool pmp_hart_has_privs(CPURISCVState *env, target_ulong addr, target_ulong size, pmp_priv_t priv, target_ulong mode); +bool pmp_is_range_in_tlb(CPURISCVState *env, hwaddr tlb_sa, + target_ulong *tlb_size); #endif |