32#ifndef __EFI_FILE_LIB_H__
33#define __EFI_FILE_LIB_H__
45#define MAX_PATHNAME 0x200
51 EfiOpenFirmwareVolume,
68 UINT64 CurrentPosition;
78 EFI_SECTION_TYPE FvSectionType;
79 EFI_FV_FILETYPE FvType;
98 BOOLEAN IsBufferValid;
132 IN CONST EFI_SECTION_TYPE SectionType
137 IN CHAR8 *DestinationFile,
185 OUT UINT64 *CurrentPosition OPTIONAL
EFI_SEEK_TYPE
Type of Seek to perform.
EFI_STATUS EfiSetCwd(IN CHAR8 *Cwd)
EFI_STATUS EfiRead(IN EFI_OPEN_FILE *Stream, OUT VOID *Buffer, OUT UINTN *BufferSize)
EFI_STATUS EfiReadAllocatePool(IN EFI_OPEN_FILE *Stream, OUT VOID **Buffer, OUT UINTN *BufferSize)
EFI_OPEN_FILE_TYPE
Type of the file that has been opened.
EFI_STATUS EfiWrite(IN EFI_OPEN_FILE *Stream, OUT VOID *Buffer, OUT UINTN *BufferSize)
UINTN EfiGetDeviceCounts(IN EFI_OPEN_FILE_TYPE Type)
EFI_OPEN_FILE * EfiOpen(IN CHAR8 *PathName, IN CONST UINT64 OpenMode, IN CONST EFI_SECTION_TYPE SectionType)
EFI_STATUS EfiSeek(IN EFI_OPEN_FILE *Stream, IN EFI_LBA Offset, IN EFI_SEEK_TYPE SeekType)
EFI_OPEN_FILE * EfiDeviceOpenByType(IN EFI_OPEN_FILE_TYPE DeviceType, IN UINTN Index)
EFI_STATUS EfiClose(IN EFI_OPEN_FILE *Stream)
UINTN EfiTell(IN EFI_OPEN_FILE *Stream, OUT UINT64 *CurrentPosition OPTIONAL)
UINT32 EFI_FV_FILE_ATTRIBUTES
UINT64 EFI_PHYSICAL_ADDRESS
Public information about the open file.