audk/MdeModulePkg
Ilias Apalodimas 1262c02677 MdeModulePkg/VariableStandaloneMm: Set PcdFlashNvStorageVariableBase to Pcd
Instead of running StMM in SPM, OP-TEE creates a new secure partition,
which emulates SPM and isolates StMM from the rest of the Trusted
Applications (TAs). We can then compile StMM as an FD image and run it
in OP-TEE. With the addition of a new RPMB driver, we can leverage OP-TEE
and store variables to an RPMB device.

Since EDK2 upper layers expect byte addressable code, for the RPMB to
work, we need to allocate memory and sync it with the hardware on
read/writes. Since DynamicPCDs are not supported in that context we
can only use PatchablePCDs. So let's switch them to Pcd instead of
FixedPcd and accomodate the new driver. While at it, move the rest
of the variables under Pcd section, instead of FixedPcd -- this is in
line with how the variables are defined in the other Variable
modules.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
2021-02-23 15:40:37 +00:00
..
Application MdeModulePkg/CapsuleApp: Fix spelling mistake 2020-08-07 18:53:01 +00:00
Bus MdeModulePkg/PciBusDxe: Fix a bug in ProcessOptionRomLight 2021-02-02 06:15:05 +00:00
Core MdeModulePkg: Fix undefined reference to memcpy with XCODE5 2020-12-04 02:59:38 +00:00
Include MdeModulePkg/Library: Add HiiGetStringEx to UefiHiiLib for EDK2 Redfish 2021-02-05 05:10:44 +00:00
Library MdeModulePkg/Library: Add HiiGetStringEx to UefiHiiLib for EDK2 Redfish 2021-02-05 05:10:44 +00:00
Logo MdeModulePkg/Logo:Add RISCV64 architecture 2020-05-07 03:17:15 +00:00
Test MdeModulePkg/Variable/RuntimeDxe: Add Variable Lock Protocol Unit Tests 2020-12-15 06:26:34 +00:00
Universal MdeModulePkg/VariableStandaloneMm: Set PcdFlashNvStorageVariableBase to Pcd 2021-02-23 15:40:37 +00:00
MdeModulePkg.ci.yaml MdeModulePkg Lzma: Update LZMA SDK version to 19.00 2021-01-08 10:03:53 +00:00
MdeModulePkg.dec MdeModulePkg: Change default value of PcdPcieResizableBarSupport to FALSE 2021-01-14 01:34:16 +00:00
MdeModulePkg.dsc MdeModulePkg: SmmSmiHandlerProfileLib: Support StandaloneMm Instance 2021-02-01 10:03:14 -08:00
MdeModulePkg.uni MdeModulePkg: Update UNI file for PCIe Resizable BAR Capability 2021-01-14 01:34:16 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00