TianoCore EDK2 master
Loading...
Searching...
No Matches
SemihostFs.h
Go to the documentation of this file.
1
10#ifndef SEMIHOST_FS_H_
11#define SEMIHOST_FS_H_
12
14VolumeOpen (
16 OUT EFI_FILE **Root
17 );
18
47 IN EFI_FILE *This,
48 OUT EFI_FILE **NewHandle,
49 IN CHAR16 *FileName,
50 IN UINT64 OpenMode,
51 IN UINT64 Attributes
52 );
53
66 IN EFI_FILE *This
67 );
68
82 IN EFI_FILE *This
83 );
84
104FileRead (
105 IN EFI_FILE *This,
106 IN OUT UINTN *BufferSize,
107 OUT VOID *Buffer
108 );
109
129FileWrite (
130 IN EFI_FILE *This,
131 IN OUT UINTN *BufferSize,
132 IN VOID *Buffer
133 );
134
148 IN EFI_FILE *File,
149 OUT UINT64 *Position
150 );
151
167 IN EFI_FILE *File,
168 IN UINT64 Position
169 );
170
194 IN EFI_FILE *This,
195 IN EFI_GUID *InformationType,
196 IN OUT UINTN *BufferSize,
197 OUT VOID *Buffer
198 );
199
234 IN EFI_FILE *This,
235 IN EFI_GUID *InformationType,
236 IN UINTN BufferSize,
237 IN VOID *Buffer
238 );
239
241FileFlush (
242 IN EFI_FILE *File
243 );
244
245#endif // SEMIHOST_FS_H_
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS FileOpen(IN EFI_FILE *This, OUT EFI_FILE **NewHandle, IN CHAR16 *FileName, IN UINT64 OpenMode, IN UINT64 Attributes)
Definition: SemihostFs.c:174
EFI_STATUS FileSetPosition(IN EFI_FILE *File, IN UINT64 Position)
Definition: SemihostFs.c:715
EFI_STATUS FileClose(IN EFI_FILE *This)
Definition: SemihostFs.c:407
EFI_STATUS FileSetInfo(IN EFI_FILE *This, IN EFI_GUID *InformationType, IN UINTN BufferSize, IN VOID *Buffer)
Definition: SemihostFs.c:1118
EFI_STATUS FileDelete(IN EFI_FILE *This)
Definition: SemihostFs.c:450
EFI_STATUS FileRead(IN EFI_FILE *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer)
Definition: SemihostFs.c:507
EFI_STATUS FileGetPosition(IN EFI_FILE *File, OUT UINT64 *Position)
Definition: SemihostFs.c:682
EFI_STATUS FileGetInfo(IN EFI_FILE *This, IN EFI_GUID *InformationType, IN OUT UINTN *BufferSize, OUT VOID *Buffer)
Definition: SemihostFs.c:890
EFI_STATUS FileWrite(IN EFI_FILE *This, IN OUT UINTN *BufferSize, IN VOID *Buffer)
Definition: SemihostFs.c:610
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213