|
TianoCore EDK2 master
|
#include "PeiMain.h"Go to the source code of this file.
Functions | |
| EFI_STATUS EFIAPI | PeiGetHobList (IN CONST EFI_PEI_SERVICES **PeiServices, IN OUT VOID **HobList) |
| EFI_STATUS EFIAPI | PeiCreateHob (IN CONST EFI_PEI_SERVICES **PeiServices, IN UINT16 Type, IN UINT16 Length, IN OUT VOID **Hob) |
| EFI_STATUS | PeiInstallSecHobData (IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_HOB_GENERIC_HEADER *SecHobList) |
| VOID | PeiCoreBuildHobHandoffInfoTable (IN EFI_BOOT_MODE BootMode, IN EFI_PHYSICAL_ADDRESS MemoryBegin, IN UINT64 MemoryLength) |
This module provide Hand-Off Block manipulation.
Copyright (c) 2006 - 2025, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Hob.c.
| VOID PeiCoreBuildHobHandoffInfoTable | ( | IN EFI_BOOT_MODE | BootMode, |
| IN EFI_PHYSICAL_ADDRESS | MemoryBegin, | ||
| IN UINT64 | MemoryLength | ||
| ) |
| EFI_STATUS EFIAPI PeiCreateHob | ( | IN CONST EFI_PEI_SERVICES ** | PeiServices, |
| IN UINT16 | Type, | ||
| IN UINT16 | Length, | ||
| IN OUT VOID ** | Hob | ||
| ) |
Add a new HOB to the HOB List.
| PeiServices | An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. |
| Type | Type of the new HOB. |
| Length | Length of the new HOB to allocate. |
| Hob | Pointer to the new HOB. |
| EFI_INVALID_PARAMETER | if Hob is NULL |
| EFI_NOT_AVAILABLE_YET | if HobList is still not available. |
| EFI_OUT_OF_RESOURCES | if there is no more memory to grow the Hoblist. |
| EFI_STATUS EFIAPI PeiGetHobList | ( | IN CONST EFI_PEI_SERVICES ** | PeiServices, |
| IN OUT VOID ** | HobList | ||
| ) |
Gets the pointer to the HOB List.
| PeiServices | An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. |
| HobList | Pointer to the HOB List. |
| EFI_SUCCESS | Get the pointer of HOB List |
| EFI_NOT_AVAILABLE_YET | the HOB List is not yet published |
| EFI_INVALID_PARAMETER | HobList is NULL |
| EFI_STATUS PeiInstallSecHobData | ( | IN CONST EFI_PEI_SERVICES ** | PeiServices, |
| IN EFI_HOB_GENERIC_HEADER * | SecHobList | ||
| ) |
Install SEC HOB data to the HOB List.
| PeiServices | An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. |
| SecHobList | Pointer to SEC HOB List. |
| EFI_OUT_OF_RESOURCES | If there is no more memory to grow the Hoblist. |