]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/PeilessStartupLib/PeilessStartupInternal.h
3 Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef PEILESS_STARTUP_INTERNAL_LIB_H_
10 #define PEILESS_STARTUP_INTERNAL_LIB_H_
13 #include <Library/BaseLib.h>
14 #include <Uefi/UefiSpec.h>
15 #include <Uefi/UefiBaseType.h>
16 #include <IndustryStandard/IntelTdx.h>
33 IN CONST VOID
*HobStart
37 * This function is to find a memory region which is the largest one below 4GB.
38 * It will be used as the firmware hoblist.
40 * @param VmmHobList Vmm passed hoblist which constains the memory information.
41 * @return EFI_SUCCESS Successfully construct the firmware hoblist.
42 * @return EFI_NOT_FOUND Cannot find a memory region to be the fw hoblist.
47 IN CONST VOID
*VmmHobList
51 * Construct the HobList in SEC phase.
53 * @return EFI_SUCCESS Successfully construct the firmware hoblist.
54 * @return EFI_NOT_FOUND Cannot find a memory region to be the fw hoblist.