TianoCore EDK2 master
Loading...
Searching...
No Matches
SecretPei.c
Go to the documentation of this file.
1
7#include <Base.h>
8#include <PiPei.h>
9#include <Library/HobLib.h>
10#include <Library/PcdLib.h>
11
13EFIAPI
14InitializeSecretPei (
15 IN EFI_PEI_FILE_HANDLE FileHandle,
16 IN CONST EFI_PEI_SERVICES **PeiServices
17 )
18{
20 PcdGet32 (PcdSevLaunchSecretBase),
21 ALIGN_VALUE (PcdGet32 (PcdSevLaunchSecretSize), EFI_PAGE_SIZE),
23 );
24
25 return EFI_SUCCESS;
26}
VOID EFIAPI BuildMemoryAllocationHob(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN EFI_MEMORY_TYPE MemoryType)
Definition: HobLib.c:601
#define CONST
Definition: Base.h:259
#define ALIGN_VALUE(Value, Alignment)
Definition: Base.h:948
#define IN
Definition: Base.h:279
#define PcdGet32(TokenName)
Definition: PcdLib.h:362
VOID * EFI_PEI_FILE_HANDLE
Definition: PiPeiCis.h:26
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
#define EFI_SUCCESS
Definition: UefiBaseType.h:112
@ EfiReservedMemoryType