mirror of https://github.com/acidanthera/audk.git
af6e0e728f
Provide an optional method for PEI to declare a specific address range to use for the Memory Type Information bins. The current algorithm uses heuristics that tends to place the Memory Type Information bins in the same location, but memory configuration changes across boots or algorithm changes across a firmware updates could potentially change the Memory Type Information bin location. If the bin locations move across an S4 save/resume cycle, then the S4 resume may fail. Enabling this feature increases the number of scenarios that an S4 resume operation may succeed. If the HOB List contains a Resource Descriptor HOB that describes tested system memory and has an Owner GUID of gEfiMemoryTypeInformationGuid, then use the address range described by the Resource Descriptor HOB as the preferred location of the Memory Type Information bins. If this HOB is not detected, then the current behavior is preserved. The HOB with an Owner GUID of gEfiMemoryTypeInformationGuid is ignored for the following conditions: * The HOB with an Owner GUID of gEfiMemoryTypeInformationGuid is smaller than the Memory Type Information bins. * The HOB list contains more than one Resource Descriptor HOB with an owner GUID of gEfiMemoryTypeInformationGuid. * The Resource Descriptor HOB with an Owner GUID of gEfiMemoryTypeInformationGuid is the same Resource Descriptor HOB that that describes the PHIT memory range. Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Aaron Li <aaron.li@intel.com> Cc: Liu Yun <yun.y.liu@intel.com> Cc: Andrew Fish <afish@apple.com> Cc: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Laszlo Ersek <lersek@redhat.com> |
||
---|---|---|
.. | ||
AcpiS3Context.h | ||
BootDiscoveryPolicy.h | ||
BootScriptExecutorVariable.h | ||
CapsuleVendor.h | ||
ConnectConInEvent.h | ||
ConsoleInDevice.h | ||
ConsoleOutDevice.h | ||
Crc32GuidedSectionExtraction.h | ||
DebugMask.h | ||
DriverSampleHii.h | ||
EndOfS3Resume.h | ||
EventExitBootServiceFailed.h | ||
ExtendedFirmwarePerformance.h | ||
FaultTolerantWrite.h | ||
FirmwarePerformance.h | ||
HiiBootMaintenanceFormset.h | ||
HiiResourceSampleHii.h | ||
IdleLoopEvent.h | ||
LoadModuleAtFixedAddress.h | ||
LzmaDecompress.h | ||
MdeModuleHii.h | ||
MdeModulePkgTokenSpace.h | ||
MemoryProfile.h | ||
MemoryStatusCodeRecord.h | ||
MemoryTypeInformation.h | ||
MigratedFvInfo.h | ||
MtcVendor.h | ||
NonDiscoverableDevice.h | ||
PcdDataBaseHobGuid.h | ||
PcdDataBaseSignatureGuid.h | ||
Performance.h | ||
PerformanceMeasurement.h | ||
PiSmmCommunicationRegionTable.h | ||
PiSmmMemoryAttributesTable.h | ||
PlatDriOverrideHii.h | ||
PlatformHasAcpi.h | ||
RamDiskHii.h | ||
RecoveryDevice.h | ||
RngAlgorithm.h | ||
S3SmmInitDone.h | ||
S3StorageDeviceInitList.h | ||
SerialPortLibVendor.h | ||
SmiHandlerProfile.h | ||
SmmLockBox.h | ||
SmmVariableCommon.h | ||
StandardErrorDevice.h | ||
StatusCodeCallbackGuid.h | ||
StatusCodeDataTypeDebug.h | ||
StatusCodeDataTypeVariable.h | ||
SystemNvDataGuid.h | ||
TraceHubDebugInfoHob.h | ||
TtyTerm.h | ||
UsbKeyBoardLayout.h | ||
VarCheckPolicyMmi.h | ||
VarErrorFlag.h | ||
VariableFlashInfo.h | ||
VariableFormat.h | ||
VariableIndexTable.h | ||
ZeroGuid.h |