mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
ArmVirtPkg: MemoryInitPeim: Add PEI Memory Bin Support
This commit adds memory bin support to ArmVirtQemu. ArmVirtQemu does not have a PEI variable driver, so it does not attempt to update the bin size or location. The bin sizes are also updated because they were very out of date. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
This commit is contained in:
parent
efc3d6a417
commit
a721a79555
2 changed files with 4 additions and 3 deletions
|
|
@ -378,8 +378,8 @@ DEFINE FD_SIZE_IN_MB = 3
|
|||
# (the memory used, and the free memory that was prereserved
|
||||
# but not used).
|
||||
#
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|4
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x3C
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
|
||||
!if $(SECURE_BOOT_ENABLE) == TRUE
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
|
||||
|
|
@ -387,7 +387,7 @@ DEFINE FD_SIZE_IN_MB = 3
|
|||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
|
||||
!else
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x424
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
|
||||
!endif
|
||||
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
|
||||
|
|
|
|||
|
|
@ -147,6 +147,7 @@
|
|||
gUefiOvmfPkgTokenSpaceGuid.PcdQemuVarsRequire|TRUE
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
|
||||
!endif
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiMemoryBinsEnable|TRUE
|
||||
|
||||
[PcdsFixedAtBuild.common]
|
||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress|0x00000000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue