diff options
| author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2023-05-04 14:37:35 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-29 16:27:06 +0300 |
| commit | b238b4db5ff76363967945cea9b72e835d613400 (patch) | |
| tree | 9913c08145ef0c9307e15a2564e39720f5d58c5f /BaseTools/Source/Python/Workspace/MetaFileTable.py | |
| parent | 13a7c9750cf207db568a70c1bbadcbe2b0d464de (diff) | |
| download | edk2-b238b4db5ff76363967945cea9b72e835d613400.tar.xz | |
UefiCpuPkg/ArmMmuLib: Preserve CCA protection bit on attribute updates
When running in a Realm, ArmSetMemoryAttributes() can update MMIO page
attributes after the mapping has already been marked as unprotected. Do
not clear the CCA protection attribute during those updates.
Use the Realm CCA protection attribute as the preserved mask for memory
type updates, and keep address bits intact when applying permission-only
updates.
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileTable.py')
0 files changed, 0 insertions, 0 deletions
