Skip to content

Conversation

fsammoura1980
Copy link
Contributor

Rename the z_riscv_pmp_stackguard_* functions to z_riscv_pmp_kernelmode_*. This change better reflects that these functions are used for general kernel mode PMP configuration, not strictly limited to stack guard purposes.

Call sites in fatal.c, isr.S, and switch.S have been updated accordingly.

Rename the `z_riscv_pmp_stackguard_*` functions to
`z_riscv_pmp_kernelmode_*`. This change better reflects that
these functions are used for general kernel mode PMP configuration,
not strictly limited to stack guard purposes.

Call sites in fatal.c, isr.S, and switch.S have been updated accordingly.

Signed-off-by: Firas Sammoura <[email protected]>
Copy link

@jimmyzhe
Copy link
Contributor

Thanks for implement CONFIG_MEM_ATTR with RISC-V PMP.

I think we can rename z_riscv_pmp_stackguard_xxx in #96241 when updating the implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: RISCV RISCV Architecture (32-bit & 64-bit)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants