riscv: pmp: select CONFIG_MEM_DOMAIN_ISOLATED_STACKS
RISC-V PMP implementation supports isolating thread stacks within the same memory domain, and also is the only supported operating mode. So select the corresponding kconfig by default. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
7289dcdcda
commit
27b0651f7a
1 changed files with 2 additions and 0 deletions
|
@ -266,6 +266,8 @@ config RISCV_PMP
|
|||
select ARCH_MEM_DOMAIN_SYNCHRONOUS_API if USERSPACE
|
||||
select ARCH_MEM_DOMAIN_DATA if USERSPACE
|
||||
select THREAD_LOCAL_STORAGE if USERSPACE
|
||||
select ARCH_MEM_DOMAIN_SUPPORTS_ISOLATED_STACKS
|
||||
select MEM_DOMAIN_ISOLATED_STACKS
|
||||
help
|
||||
MCU implements Physical Memory Protection.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue