Skip to content

Commit 207926c

Browse files
povergoingcfriedt
authored andcommitted
arm64: Kconfig: Enable userspace feature
Enable userspace for Armv8R aarch64 Signed-off-by: Jaxson Han <[email protected]>
1 parent f079e66 commit 207926c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arch/arm64/core/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ config ARMV8_R
127127
bool
128128
select ATOMIC_OPERATIONS_BUILTIN
129129
select SCHED_IPI_SUPPORTED if SMP
130+
select ARCH_HAS_USERSPACE if ARM_MPU
130131
help
131132
This option signifies the use of an ARMv8-R processor
132133
implementation.

arch/arm64/core/cortex_r/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ if CPU_HAS_MPU
1010
config ARM_MPU
1111
bool "ARM MPU Support"
1212
select THREAD_STACK_INFO
13+
select MPU
14+
select SRAM_REGION_PERMISSIONS
15+
select ARCH_MEM_DOMAIN_SYNCHRONOUS_API if USERSPACE
1316
default y
1417
help
1518
MPU implements Memory Protection Unit.

0 commit comments

Comments
 (0)