summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2022-07-08 19:43:50 +0300
committerSami Mujawar <sami.mujawar@arm.com>2026-08-27 11:44:17 +0300
commit09d62049217235670db86318299782e645783cca (patch)
tree7d4635db809d9d94d66b938df1df0b0e4387d46a /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
parent43e8f7386d9db4a40d66cae061f99e54f4ce2ab5 (diff)
downloadedk2-09d62049217235670db86318299782e645783cca.tar.xz
ArmVirtPkg: Arm CCA configure system memory in early Pei
When a VMM creates a Realm, a small amount of DRAM (which contains the firmware image) and the initial content is configured as Protected RAM. The remaining System Memory is in the Protected Empty state. The firmware must then initialise the remaining System Memory as Protected RAM before it can be accessed. Therefore, call the ArmCcaConfigureSystemMemory () in the early Pei phase so that the System Memory is configured as Protected RAM. Note: ArmCcaConfigureSystemMemory () is implemented in ArmCcaInitPeiLib for which a Null implementation is provided. Therefore, this change should not have an impact for non-Arm CCA enabled systems. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Leif Lindholm <leif.lindholm@oss.qualcomm.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c')
0 files changed, 0 insertions, 0 deletions