TianoCore EDK2 master
Loading...
Searching...
No Matches
PeiServicesLib.h
Go to the documentation of this file.
1
9#ifndef __PEI_SERVICES_LIB_H__
10#define __PEI_SERVICES_LIB_H__
11
25EFIAPI
28 );
29
46EFIAPI
50 );
51
66EFIAPI
68 IN CONST EFI_GUID *Guid,
69 IN UINTN Instance,
70 IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor OPTIONAL,
71 IN OUT VOID **Ppi
72 );
73
89EFIAPI
92 );
93
104EFIAPI
106 OUT EFI_BOOT_MODE *BootMode
107 );
108
118EFIAPI
120 IN EFI_BOOT_MODE BootMode
121 );
122
133EFIAPI
135 OUT VOID **HobList
136 );
137
150EFIAPI
152 IN UINT16 Type,
153 IN UINT16 Length,
154 OUT VOID **Hob
155 );
156
170EFIAPI
172 IN UINTN Instance,
173 IN OUT EFI_PEI_FV_HANDLE *VolumeHandle
174 );
175
190EFIAPI
192 IN EFI_FV_FILETYPE SearchType,
193 IN EFI_PEI_FV_HANDLE VolumeHandle,
194 IN OUT EFI_PEI_FILE_HANDLE *FileHandle
195 );
196
210EFIAPI
212 IN EFI_SECTION_TYPE SectionType,
213 IN EFI_PEI_FILE_HANDLE FileHandle,
214 OUT VOID **SectionData
215 );
216
232EFIAPI
234 IN EFI_SECTION_TYPE SectionType,
235 IN UINTN SectionInstance,
236 IN EFI_PEI_FILE_HANDLE FileHandle,
237 OUT VOID **SectionData,
238 OUT UINT32 *AuthenticationStatus
239 );
240
254EFIAPI
256 IN EFI_PHYSICAL_ADDRESS MemoryBegin,
257 IN UINT64 MemoryLength
258 );
259
275EFIAPI
277 IN EFI_MEMORY_TYPE MemoryType,
278 IN UINTN Pages,
280 );
281
295EFIAPI
298 IN UINTN Pages
299 );
300
313EFIAPI
315 IN UINTN Size,
316 OUT VOID **Buffer
317 );
318
327EFIAPI
329 VOID
330 );
331
354EFIAPI
356 IN CONST EFI_GUID *FileName,
357 IN CONST EFI_PEI_FV_HANDLE VolumeHandle,
358 OUT EFI_PEI_FILE_HANDLE *FileHandle
359 );
360
380EFIAPI
382 IN CONST EFI_PEI_FILE_HANDLE FileHandle,
384 );
385
405EFIAPI
407 IN CONST EFI_PEI_FILE_HANDLE FileHandle,
409 );
410
430EFIAPI
432 IN EFI_PEI_FV_HANDLE VolumeHandle,
433 OUT EFI_FV_INFO *VolumeInfo
434 );
435
454EFIAPI
456 IN EFI_PEI_FILE_HANDLE FileHandle
457 );
458
483VOID
484EFIAPI
486 IN CONST EFI_GUID *FvFormat OPTIONAL,
487 IN CONST VOID *FvInfo,
488 IN UINT32 FvInfoSize,
489 IN CONST EFI_GUID *ParentFvName OPTIONAL,
490 IN CONST EFI_GUID *ParentFileName OPTIONAL
491 );
492
523VOID
524EFIAPI
526 IN CONST EFI_GUID *FvFormat OPTIONAL,
527 IN CONST VOID *FvInfo,
528 IN UINT32 FvInfoSize,
529 IN CONST EFI_GUID *ParentFvName OPTIONAL,
530 IN CONST EFI_GUID *ParentFileName OPTIONAL,
531 IN UINT32 AuthenticationStatus
532 );
533
547VOID
548EFIAPI
550 IN EFI_RESET_TYPE ResetType,
551 IN EFI_STATUS ResetStatus,
552 IN UINTN DataSize,
553 IN VOID *ResetData OPTIONAL
554 );
555
556#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI PeiServicesFfsGetFileInfo(IN CONST EFI_PEI_FILE_HANDLE FileHandle, OUT EFI_FV_FILE_INFO *FileInfo)
EFI_STATUS EFIAPI PeiServicesFfsFindSectionData(IN EFI_SECTION_TYPE SectionType, IN EFI_PEI_FILE_HANDLE FileHandle, OUT VOID **SectionData)
EFI_STATUS EFIAPI PeiServicesFfsFindNextVolume(IN UINTN Instance, IN OUT EFI_PEI_FV_HANDLE *VolumeHandle)
EFI_STATUS EFIAPI PeiServicesGetBootMode(OUT EFI_BOOT_MODE *BootMode)
EFI_STATUS EFIAPI PeiServicesGetHobList(OUT VOID **HobList)
EFI_STATUS EFIAPI PeiServicesAllocatePool(IN UINTN Size, OUT VOID **Buffer)
EFI_STATUS EFIAPI PeiServicesCreateHob(IN UINT16 Type, IN UINT16 Length, OUT VOID **Hob)
EFI_STATUS EFIAPI PeiServicesFfsGetFileInfo2(IN CONST EFI_PEI_FILE_HANDLE FileHandle, OUT EFI_FV_FILE_INFO2 *FileInfo)
EFI_STATUS EFIAPI PeiServicesLocatePpi(IN CONST EFI_GUID *Guid, IN UINTN Instance, IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor OPTIONAL, IN OUT VOID **Ppi)
EFI_STATUS EFIAPI PeiServicesFfsFindNextFile(IN EFI_FV_FILETYPE SearchType, IN EFI_PEI_FV_HANDLE VolumeHandle, IN OUT EFI_PEI_FILE_HANDLE *FileHandle)
VOID EFIAPI PeiServicesInstallFvInfoPpi(IN CONST EFI_GUID *FvFormat OPTIONAL, IN CONST VOID *FvInfo, IN UINT32 FvInfoSize, IN CONST EFI_GUID *ParentFvName OPTIONAL, IN CONST EFI_GUID *ParentFileName OPTIONAL)
EFI_STATUS EFIAPI PeiServicesFreePages(IN EFI_PHYSICAL_ADDRESS Memory, IN UINTN Pages)
EFI_STATUS EFIAPI PeiServicesFfsFindFileByName(IN CONST EFI_GUID *FileName, IN CONST EFI_PEI_FV_HANDLE VolumeHandle, OUT EFI_PEI_FILE_HANDLE *FileHandle)
EFI_STATUS EFIAPI PeiServicesResetSystem(VOID)
EFI_STATUS EFIAPI PeiServicesInstallPeiMemory(IN EFI_PHYSICAL_ADDRESS MemoryBegin, IN UINT64 MemoryLength)
EFI_STATUS EFIAPI PeiServicesNotifyPpi(IN CONST EFI_PEI_NOTIFY_DESCRIPTOR *NotifyList)
VOID EFIAPI PeiServicesInstallFvInfo2Ppi(IN CONST EFI_GUID *FvFormat OPTIONAL, IN CONST VOID *FvInfo, IN UINT32 FvInfoSize, IN CONST EFI_GUID *ParentFvName OPTIONAL, IN CONST EFI_GUID *ParentFileName OPTIONAL, IN UINT32 AuthenticationStatus)
EFI_STATUS EFIAPI PeiServicesAllocatePages(IN EFI_MEMORY_TYPE MemoryType, IN UINTN Pages, OUT EFI_PHYSICAL_ADDRESS *Memory)
EFI_STATUS EFIAPI PeiServicesInstallPpi(IN CONST EFI_PEI_PPI_DESCRIPTOR *PpiList)
VOID EFIAPI PeiServicesResetSystem2(IN EFI_RESET_TYPE ResetType, IN EFI_STATUS ResetStatus, IN UINTN DataSize, IN VOID *ResetData OPTIONAL)
EFI_STATUS EFIAPI PeiServicesReInstallPpi(IN CONST EFI_PEI_PPI_DESCRIPTOR *OldPpi, IN CONST EFI_PEI_PPI_DESCRIPTOR *NewPpi)
EFI_STATUS EFIAPI PeiServicesSetBootMode(IN EFI_BOOT_MODE BootMode)
EFI_STATUS EFIAPI PeiServicesRegisterForShadow(IN EFI_PEI_FILE_HANDLE FileHandle)
EFI_STATUS EFIAPI PeiServicesFfsFindSectionData3(IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, IN EFI_PEI_FILE_HANDLE FileHandle, OUT VOID **SectionData, OUT UINT32 *AuthenticationStatus)
EFI_STATUS EFIAPI PeiServicesFfsGetVolumeInfo(IN EFI_PEI_FV_HANDLE VolumeHandle, OUT EFI_FV_INFO *VolumeInfo)
UINT32 EFI_BOOT_MODE
Definition: PiBootMode.h:18
VOID * EFI_PEI_FILE_HANDLE
Definition: PiPeiCis.h:26
VOID * EFI_PEI_FV_HANDLE
Definition: PiPeiCis.h:21
EFI_FILE_INFO * FileInfo(IN EFI_FILE_HANDLE FHand)
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_MEMORY_TYPE
EFI_RESET_TYPE
Definition: Base.h:213