arm64: add mpu_addrenv.c empty implementation and change arm64_addren… #17998
+454
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Add MPU-based address environment support for ARM64 architecture. Separate MMU-specific address environment code from generic implementation by renaming arm64_addrenv.c to arm64_addrenv_mmu.c. Add new arm64_addrenv_mpu.c with stub implementations of address environment functions for MPU-based systems. Enable ARCH_HAVE_ADDRENV for FVP ARMv8-R platform to support kernel stacks in protected mode.
Changes
arch/arm64/src/common/arm64_addrenv.c → arm64_addrenv_mmu.c:
arch/arm64/src/common/arm64_addrenv_mpu.c (new):
arch/arm64/Kconfig:
arch/arm64/src/common/CMakeLists.txt & Make.defs:
Cleanup:
Benefits & Technical Details
Testing
Impact