4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync HOB Library implemenation for Dxe Phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCopyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncThis program and the accompanying materials
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncare licensed and made available under the terms and conditions of the BSD License
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncwhich accompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync The constructor function caches the pointer to HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync The constructor function gets the start address of HOB list from system configuration table.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It will ASSERT() if that operation fails and it will always return EFI_SUCCESS.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param ImageHandle The firmware allocated handle for the EFI image.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param SystemTable A pointer to the EFI System Table.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The constructor successfully gets HobList.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval Other value The constructor can't get HobList.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Status = EfiGetSystemConfigurationTable (&gEfiHobListGuid, &mHobList);
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Returns the pointer to the HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function returns the pointer to first HOB in the list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync For PEI phase, the PEI service GetHobList() can be used to retrieve the pointer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync to the HOB list. For the DXE phase, the HOB list pointer can be retrieved through
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync the EFI System Table by looking up theHOB list GUID in the System Configuration Table.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Since the System Configuration Table does not exist that the time the DXE Core is
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync launched, the DXE Core uses a global variable from the DXE Core Entry Point Library
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync to manage the pointer to the HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If the pointer to the HOB list is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The pointer to the HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Returns the next instance of a HOB type from the starting HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function searches the first instance of a HOB type from the starting HOB pointer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there does not exist such HOB type from the starting HOB pointer, it will return NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync unconditionally: it returns HobStart back if HobStart itself meets the requirement;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If HobStart is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Type The HOB type to return.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param HobStart The starting HOB pointer to search from.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The next instance of a HOB type from the starting HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // Parse the HOB list until end of list or matching type is found.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Returns the first instance of a HOB type among the whole HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function searches the first instance of a HOB type among the whole HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there does not exist such HOB type in the HOB list, it will return NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If the pointer to the HOB list is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Type The HOB type to return.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The next instance of a HOB type from the starting HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Returns the next instance of the matched GUID HOB from the starting HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function searches the first instance of a HOB from the starting HOB pointer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Such HOB should satisfy two conditions:
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there does not exist such HOB from the starting HOB pointer, it will return NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync to extract the data section and its size information, respectively.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync unconditionally: it returns HobStart back if HobStart itself meets the requirement;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If Guid is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If HobStart is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Guid The GUID to match with in the HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param HobStart A pointer to a Guid.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The next instance of the matched GUID HOB from the starting HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) {
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Returns the first instance of the matched GUID HOB among the whole HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function searches the first instance of a HOB among the whole HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Such HOB should satisfy two conditions:
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there does not exist such HOB from the starting HOB pointer, it will return NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync to extract the data section and its size information, respectively.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If the pointer to the HOB list is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If Guid is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Guid The GUID to match with in the HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The first instance of the matched GUID HOB among the whole HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Get the system boot mode from the HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function returns the system boot mode information from the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync PHIT HOB in HOB list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If the pointer to the HOB list is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param VOID
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The Boot Mode.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync HandOffHob = (EFI_HOB_HANDOFF_INFO_TABLE *) GetHobList ();
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a HOB for a loaded PE32 module.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a HOB for a loaded PE32 module.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If ModuleName is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param ModuleName The GUID File Name of the module.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param MemoryAllocationModule The 64 bit physical address of the module.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param ModuleLength The length of the module in bytes.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param EntryPoint The 64 bit physical address of the module entry point.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // PEI HOB is read only for DXE phase
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a HOB that describes a chunk of system memory.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a HOB that describes a chunk of system memory.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param ResourceType The type of resource described by this HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param ResourceAttribute The resource attributes of the memory described by this HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param PhysicalStart The 64 bit physical address of memory described by this HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param NumberOfBytes The length of the memory described by this HOB in bytes.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // PEI HOB is read only for DXE phase
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a customized HOB tagged with a GUID for identification and returns
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync the start address of GUID HOB data.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a customized HOB tagged with a GUID for identification
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync and returns the start address of GUID HOB data so that caller can fill the customized data.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync The HOB Header and Name field is already stripped.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If Guid is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If DataLength >= (0x10000 - sizeof (EFI_HOB_GUID_TYPE)), then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Guid The GUID to tag the customized HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param DataLength The size of the data payload for the GUID HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval NULL The GUID HOB could not be allocated.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval others The start address of GUID HOB data.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // PEI HOB is read only for DXE phase
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a customized HOB tagged with a GUID for identification, copies the input data to the HOB
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync data field, and returns the start address of the GUID HOB data.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a customized HOB tagged with a GUID for identification and copies the input
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync data to the HOB data field and returns the start address of the GUID HOB data. It can only be
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync invoked during PEI phase; for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync The HOB Header and Name field is already stripped.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If Guid is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If Data is NULL and DataLength > 0, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If DataLength >= (0x10000 - sizeof (EFI_HOB_GUID_TYPE)), then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Guid The GUID to tag the customized HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Data The data to be copied into the data field of the GUID HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param DataLength The size of the data payload for the GUID HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval NULL The GUID HOB could not be allocated.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval others The start address of GUID HOB data.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // PEI HOB is read only for DXE phase
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a Firmware Volume HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a Firmware Volume HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param BaseAddress The base address of the Firmware Volume.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The size of the Firmware Volume in bytes.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // PEI HOB is read only for DXE phase
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a EFI_HOB_TYPE_FV2 HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a EFI_HOB_TYPE_FV2 HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param BaseAddress The base address of the Firmware Volume.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The size of the Firmware Volume in bytes.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param FvName The name of the Firmware Volume.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param FileName The name of the file.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a Capsule Volume HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a Capsule Volume HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If the platform does not support Capsule Volume HOBs, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param BaseAddress The base address of the Capsule Volume.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The size of the Capsule Volume in bytes.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // PEI HOB is read only for DXE phase
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a HOB for the CPU.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a HOB for the CPU.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param SizeOfMemorySpace The maximum physical memory addressability of the processor.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param SizeOfIoSpace The maximum physical I/O addressability of the processor.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // PEI HOB is read only for DXE phase
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a HOB for the Stack.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a HOB for the stack.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param BaseAddress The 64 bit physical address of the Stack.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The length of the stack in bytes.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // PEI HOB is read only for DXE phase
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a HOB for the BSP store.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a HOB for BSP store.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param BaseAddress The 64 bit physical address of the BSP.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The length of the BSP store in bytes.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param MemoryType Type of memory allocated by this HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // PEI HOB is read only for DXE phase
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Builds a HOB for the memory allocation.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function builds a HOB for the memory allocation.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync It can only be invoked during PEI phase;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If there is no additional space for HOB creation, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param BaseAddress The 64 bit physical address of the memory.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The length of the memory allocation in bytes.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param MemoryType Type of memory allocated by this HOB.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // PEI HOB is read only for DXE phase