Home
last modified time | relevance | path

Searched refs:global_pmp_end_index (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/arch/riscv/core/
Dpmp.c344 static unsigned int global_pmp_end_index; variable
431 if (global_pmp_end_index != 0) { in z_riscv_pmp_init()
432 __ASSERT(global_pmp_end_index == index, ""); in z_riscv_pmp_init()
440 global_pmp_end_index = index; in z_riscv_pmp_init()
465 pmp_addr[global_pmp_end_index - 1] = global_pmp_last_addr; in z_riscv_pmp_thread_init()
467 return global_pmp_end_index; in z_riscv_pmp_thread_init()
518 write_pmp_entries(global_pmp_end_index, thread->arch.m_mode_pmp_end_index, in z_riscv_pmp_stackguard_enable()
540 unsigned int index = global_pmp_end_index; in z_riscv_pmp_stackguard_disable()
543 pmp_addr[global_pmp_end_index - 1] = global_pmp_last_addr; in z_riscv_pmp_stackguard_disable()
555 write_pmp_entries(global_pmp_end_index, index, in z_riscv_pmp_stackguard_disable()
[all …]