[CHERRY-PICK] Add the ability to configure the memory type used for the FD region (#141)
## Description Add the ability to configure the memory type used for the FD region on the non-secure UEFI side. - [x] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested Tested on internal platform build. ## Integration Instructions N/A Cherry pick of https://github.com/microsoft/mu_silicon_arm_tiano/pull/140
This commit is contained in:
Родитель
c866ea13f5
Коммит
4a690ce072
|
@ -215,6 +215,10 @@
|
|||
gArmTokenSpaceGuid.PcdFdSize|0|UINT32|0x0000002C
|
||||
gArmTokenSpaceGuid.PcdFvSize|0|UINT32|0x0000002E
|
||||
|
||||
|
||||
# MU_CHANGE: PCD To configure memory type used for FD region allocation. Defaults to EfiBootServicesData
|
||||
gArmTokenSpaceGuid.PcdFdMemoryType|4|UINT32|0x1000046 # MU_CHANGE
|
||||
|
||||
#
|
||||
# Value to add to a host address to obtain a device address, using
|
||||
# unsigned 64-bit integer arithmetic on both ARM and AArch64. This
|
||||
|
|
|
@ -181,7 +181,7 @@ MemoryPeim (
|
|||
BuildMemoryAllocationHob (
|
||||
PcdGet64 (PcdFdBaseAddress),
|
||||
PcdGet32 (PcdFdSize),
|
||||
EfiBootServicesData
|
||||
PcdGet32 (PcdFdMemoryType) // MU_CHANGE
|
||||
);
|
||||
|
||||
Found = TRUE;
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
[FixedPcd]
|
||||
gArmTokenSpaceGuid.PcdFdBaseAddress
|
||||
gArmTokenSpaceGuid.PcdFdSize
|
||||
gArmTokenSpaceGuid.PcdFdMemoryType # MU_CHANGE
|
||||
|
||||
gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче