Platform Initialization Specification, Vol. 1
UEFI Forum, Inc. April 2020 1-v
4.4 HOB Services .............................................................................................................. 1-28
GetHobList()..................................................................................................... 1-29
CreateHob()...................................................................................................... 1-30
4.5 Firmware Volume Services.......................................................................................... 1-31
FfsFindNextVolume() ....................................................................................... 1-32
FfsFindNextFile().............................................................................................. 1-33
FfsFindSectionData() ....................................................................................... 1-35
FfsFindSectionData3() ..................................................................................... 1-36
FfsFindFileByName() ....................................................................................... 1-38
FfsGetFileInfo() ................................................................................................1-39
FfsGetFileInfo2() ..............................................................................................1-41
FfsGetVolumeInfo().......................................................................................... 1-43
RegisterForShadow() ....................................................................................... 1-45
4.6 PEI Memory Services .................................................................................................. 1-45
InstallPeiMemory() ........................................................................................... 1-46
AllocatePages()................................................................................................ 1-47
AllocatePool()................................................................................................... 1-49
CopyMem()....................................................................................................... 1-50
FreePages() ..................................................................................................... 1-51
SetMem().......................................................................................................... 1-53
4.7 Status Code Service .................................................................................................... 1-53
ReportStatusCode() .........................................................................................1-54
4.8 Reset Services.............................................................................................................1-57
ResetSystem().................................................................................................. 1-57
4.9 I/O and PCI Services ................................................................................................... 1-57
5 PEI Foundation ...........................................................................................1-58
5.1 Introduction .................................................................................................................. 1-58
5.1.1 Prerequisites ....................................................................................................1-58
5.1.2 Processor Execution Mode .............................................................................. 1-58
5.2 PEI Foundation Entry Point.......................................................................................... 1-60
5.2.1 PEI Foundation Entry Point.............................................................................. 1-60
5.3 PEI Calling Convention Processor Binding.................................................................. 1-63
5.4 PEI Services Table Retrieval ....................................................................................... 1-63
5.4.1 X86................................................................................................................... 1-63
5.4.2 x64 ...................................................................................................................1-64
5.4.3 Itanium Processor Family – Register Mechanism............................................ 1-64
5.4.4 ARM Processor Family – Register Mechanism................................................ 1-65
5.4.5 AArch64 Processor Family – Register Mechanism.......................................... 1-66
5.4.6 RISC-V Processor Family – Register Mechanism ........................................... 1-66
5.5 PEI Dispatcher Introduction ......................................................................................... 1-67
5.6 Ordering....................................................................................................................... 1-67
5.6.1 Requirements................................................................................................... 1-67
5.6.2 Requirement Representation and Notation...................................................... 1-67
5.6.3 PEI a priori File Overview................................................................................. 1-68
PEI_APRIORI_FILE_NAME_GUID.................................................................. 1-69
5.6.4 Firmware Volume Image Files ......................................................................... 1-70