TianoCore EDK2 master
Loading...
Searching...
No Matches
FvLib.h
Go to the documentation of this file.
1
10#ifndef _FV_LIB_H_
11#define _FV_LIB_H_
12
13#include <Uefi.h>
14#include <Pi/PiFirmwareVolume.h>
15#include <Pi/PiFirmwareFile.h>
16
33EFIAPI
35 IN EFI_FV_FILETYPE SearchType,
36 IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader,
37 IN OUT EFI_FFS_FILE_HEADER **FileHeader
38 );
39
53EFIAPI
55 IN EFI_SECTION_TYPE SectionType,
56 IN EFI_FFS_FILE_HEADER *FfsFileHeader,
57 IN OUT EFI_COMMON_SECTION_HEADER **SectionHeader
58 );
59
74EFIAPI
76 IN VOID *Sections,
77 IN UINTN SizeOfSections,
78 IN EFI_SECTION_TYPE SectionType,
79 OUT EFI_COMMON_SECTION_HEADER **FoundSection
80 );
81
96EFIAPI
98 IN EFI_SECTION_TYPE SectionType,
99 IN EFI_FFS_FILE_HEADER *FfsFileHeader,
100 OUT VOID **SectionData,
101 OUT UINTN *SectionDataSize
102 );
103
104#endif
UINT64 UINTN
EFI_STATUS EFIAPI FfsFindSection(IN EFI_SECTION_TYPE SectionType, IN EFI_FFS_FILE_HEADER *FfsFileHeader, IN OUT EFI_COMMON_SECTION_HEADER **SectionHeader)
Definition: FvLib.c:305
EFI_STATUS EFIAPI FfsFindSectionData(IN EFI_SECTION_TYPE SectionType, IN EFI_FFS_FILE_HEADER *FfsFileHeader, OUT VOID **SectionData, OUT UINTN *SectionDataSize)
EFI_STATUS EFIAPI FfsFindNextFile(IN EFI_FV_FILETYPE SearchType, IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader, IN OUT EFI_FFS_FILE_HEADER **FileHeader)
Definition: FvLib.c:112
EFI_STATUS EFIAPI FindFfsSectionInSections(IN VOID *Sections, IN UINTN SizeOfSections, IN EFI_SECTION_TYPE SectionType, OUT EFI_COMMON_SECTION_HEADER **FoundSection)
Definition: SecMain.c:147
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29