FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/freedom-metal/src/pmp.c
/* Get the number of pmp regions for the given hart */
Get the number of pmp regions for the given hart
Get the number of pmp regions for the given hart
int metal_pmp_num_regions(int hartid) {
    struct metal_cpu *cpu = metal_cpu_get(hartid);
    return __metal_driver_cpu_num_pmp_regions(cpu);
}
int metal_pmp_num_regions ( int hartid ) { struct metal_cpu * cpu = metal_cpu_get ( hartid ) ; return __metal_driver_cpu_num_pmp_regions ( cpu ) ; }
Get the number of pmp regions for the given hart
Get the number of pmp regions for the given hart