iPXE
SimpleFileSystem.h
Go to the documentation of this file.
1/** @file
2 SimpleFileSystem protocol as defined in the UEFI 2.0 specification.
3
4 The SimpleFileSystem protocol is the programmatic access to the FAT (12,16,32)
5 file system specified in UEFI 2.0. It can also be used to abstract a file
6 system other than FAT.
7
8 UEFI 2.0 can boot from any valid EFI image contained in a SimpleFileSystem.
9
10Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
11SPDX-License-Identifier: BSD-2-Clause-Patent
12
13**/
14
15#ifndef __SIMPLE_FILE_SYSTEM_H__
16#define __SIMPLE_FILE_SYSTEM_H__
17
18FILE_LICENCE ( BSD2_PATENT );
19FILE_SECBOOT ( PERMITTED );
20
21#define EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID \
22 { \
23 0x964e5b22, 0x6459, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
24 }
25
27
30
31///
32/// Protocol GUID name defined in EFI1.1.
33///
34#define SIMPLE_FILE_SYSTEM_PROTOCOL EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID
35
36///
37/// Protocol name defined in EFI1.1.
38///
41
42/**
43 Open the root directory on a volume.
44
45 @param This A pointer to the volume to open the root directory.
46 @param Root A pointer to the location to return the opened file handle for the
47 root directory.
48
49 @retval EFI_SUCCESS The device was opened.
50 @retval EFI_UNSUPPORTED This volume does not support the requested file system type.
51 @retval EFI_NO_MEDIA The device has no medium.
52 @retval EFI_DEVICE_ERROR The device reported an error.
53 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
54 @retval EFI_ACCESS_DENIED The service denied access to the file.
55 @retval EFI_OUT_OF_RESOURCES The volume was not opened due to lack of resources.
56 @retval EFI_MEDIA_CHANGED The device has a different medium in it or the medium is no
57 longer supported. Any existing file handles for this volume are
58 no longer valid. To access the files on the new medium, the
59 volume must be reopened with OpenVolume().
60
61**/
62typedef
67 );
68
69#define EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_REVISION 0x00010000
70
71///
72/// Revision defined in EFI1.1
73///
74#define EFI_FILE_IO_INTERFACE_REVISION EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_REVISION
75
77 ///
78 /// The version of the EFI_SIMPLE_FILE_SYSTEM_PROTOCOL. The version
79 /// specified by this specification is 0x00010000. All future revisions
80 /// must be backwards compatible.
81 ///
84};
85
86/**
87 Opens a new file relative to the source file's location.
88
89 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file
90 handle to the source location. This would typically be an open
91 handle to a directory.
92 @param NewHandle A pointer to the location to return the opened handle for the new
93 file.
94 @param FileName The Null-terminated string of the name of the file to be opened.
95 The file name may contain the following path modifiers: "\", ".",
96 and "..".
97 @param OpenMode The mode to open the file. The only valid combinations that the
98 file may be opened with are: Read, Read/Write, or Create/Read/Write.
99 @param Attributes Only valid for EFI_FILE_MODE_CREATE, in which case these are the
100 attribute bits for the newly created file.
101
102 @retval EFI_SUCCESS The file was opened.
103 @retval EFI_NOT_FOUND The specified file could not be found on the device.
104 @retval EFI_NO_MEDIA The device has no medium.
105 @retval EFI_MEDIA_CHANGED The device has a different medium in it or the medium is no
106 longer supported.
107 @retval EFI_DEVICE_ERROR The device reported an error.
108 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
109 @retval EFI_WRITE_PROTECTED An attempt was made to create a file, or open a file for write
110 when the media is write-protected.
111 @retval EFI_ACCESS_DENIED The service denied access to the file.
112 @retval EFI_OUT_OF_RESOURCES Not enough resources were available to open the file.
113 @retval EFI_VOLUME_FULL The volume is full.
114
115**/
116typedef
119 IN EFI_FILE_PROTOCOL *This,
120 OUT EFI_FILE_PROTOCOL **NewHandle,
122 IN UINT64 OpenMode,
123 IN UINT64 Attributes
124 );
125
126//
127// Open modes
128//
129#define EFI_FILE_MODE_READ 0x0000000000000001ULL
130#define EFI_FILE_MODE_WRITE 0x0000000000000002ULL
131#define EFI_FILE_MODE_CREATE 0x8000000000000000ULL
132
133//
134// File attributes
135//
136#define EFI_FILE_READ_ONLY 0x0000000000000001ULL
137#define EFI_FILE_HIDDEN 0x0000000000000002ULL
138#define EFI_FILE_SYSTEM 0x0000000000000004ULL
139#define EFI_FILE_RESERVED 0x0000000000000008ULL
140#define EFI_FILE_DIRECTORY 0x0000000000000010ULL
141#define EFI_FILE_ARCHIVE 0x0000000000000020ULL
142#define EFI_FILE_VALID_ATTR 0x0000000000000037ULL
143
144/**
145 Closes a specified file handle.
146
147 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file
148 handle to close.
149
150 @retval EFI_SUCCESS The file was closed.
151
152**/
153typedef
157 );
158
159/**
160 Close and delete the file handle.
161
162 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the
163 handle to the file to delete.
164
165 @retval EFI_SUCCESS The file was closed and deleted, and the handle was closed.
166 @retval EFI_WARN_DELETE_FAILURE The handle was closed, but the file was not deleted.
167
168**/
169typedef
173 );
174
175/**
176 Reads data from a file.
177
178 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file
179 handle to read data from.
180 @param BufferSize On input, the size of the Buffer. On output, the amount of data
181 returned in Buffer. In both cases, the size is measured in bytes.
182 @param Buffer The buffer into which the data is read.
183
184 @retval EFI_SUCCESS Data was read.
185 @retval EFI_NO_MEDIA The device has no medium.
186 @retval EFI_DEVICE_ERROR The device reported an error.
187 @retval EFI_DEVICE_ERROR An attempt was made to read from a deleted file.
188 @retval EFI_DEVICE_ERROR On entry, the current file position is beyond the end of the file.
189 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
190 @retval EFI_BUFFER_TOO_SMALL The BufferSize is too small to read the current directory
191 entry. BufferSize has been updated with the size
192 needed to complete the request.
193
194**/
195typedef
198 IN EFI_FILE_PROTOCOL *This,
201 );
202
203/**
204 Writes data to a file.
205
206 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file
207 handle to write data to.
208 @param BufferSize On input, the size of the Buffer. On output, the amount of data
209 actually written. In both cases, the size is measured in bytes.
210 @param Buffer The buffer of data to write.
211
212 @retval EFI_SUCCESS Data was written.
213 @retval EFI_UNSUPPORTED Writes to open directory files are not supported.
214 @retval EFI_NO_MEDIA The device has no medium.
215 @retval EFI_DEVICE_ERROR The device reported an error.
216 @retval EFI_DEVICE_ERROR An attempt was made to write to a deleted file.
217 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
218 @retval EFI_WRITE_PROTECTED The file or medium is write-protected.
219 @retval EFI_ACCESS_DENIED The file was opened read only.
220 @retval EFI_VOLUME_FULL The volume is full.
221
222**/
223typedef
226 IN EFI_FILE_PROTOCOL *This,
228 IN VOID *Buffer
229 );
230
231/**
232 Sets a file's current position.
233
234 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the
235 file handle to set the requested position on.
236 @param Position The byte position from the start of the file to set.
237
238 @retval EFI_SUCCESS The position was set.
239 @retval EFI_UNSUPPORTED The seek request for nonzero is not valid on open
240 directories.
241 @retval EFI_DEVICE_ERROR An attempt was made to set the position of a deleted file.
242
243**/
244typedef
247 IN EFI_FILE_PROTOCOL *This,
248 IN UINT64 Position
249 );
250
251/**
252 Returns a file's current position.
253
254 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file
255 handle to get the current position on.
256 @param Position The address to return the file's current position value.
257
258 @retval EFI_SUCCESS The position was returned.
259 @retval EFI_UNSUPPORTED The request is not valid on open directories.
260 @retval EFI_DEVICE_ERROR An attempt was made to get the position from a deleted file.
261
262**/
263typedef
266 IN EFI_FILE_PROTOCOL *This,
267 OUT UINT64 *Position
268 );
269
270/**
271 Returns information about a file.
272
273 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file
274 handle the requested information is for.
275 @param InformationType The type identifier for the information being requested.
276 @param BufferSize On input, the size of Buffer. On output, the amount of data
277 returned in Buffer. In both cases, the size is measured in bytes.
278 @param Buffer A pointer to the data buffer to return. The buffer's type is
279 indicated by InformationType.
280
281 @retval EFI_SUCCESS The information was returned.
282 @retval EFI_UNSUPPORTED The InformationType is not known.
283 @retval EFI_NO_MEDIA The device has no medium.
284 @retval EFI_DEVICE_ERROR The device reported an error.
285 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
286 @retval EFI_BUFFER_TOO_SMALL The BufferSize is too small to read the current directory entry.
287 BufferSize has been updated with the size needed to complete
288 the request.
289**/
290typedef
293 IN EFI_FILE_PROTOCOL *This,
294 IN EFI_GUID *InformationType,
297 );
298
299/**
300 Sets information about a file.
301
302 @param File A pointer to the EFI_FILE_PROTOCOL instance that is the file
303 handle the information is for.
304 @param InformationType The type identifier for the information being set.
305 @param BufferSize The size, in bytes, of Buffer.
306 @param Buffer A pointer to the data buffer to write. The buffer's type is
307 indicated by InformationType.
308
309 @retval EFI_SUCCESS The information was set.
310 @retval EFI_UNSUPPORTED The InformationType is not known.
311 @retval EFI_NO_MEDIA The device has no medium.
312 @retval EFI_DEVICE_ERROR The device reported an error.
313 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
314 @retval EFI_WRITE_PROTECTED InformationType is EFI_FILE_INFO_ID and the media is
315 read-only.
316 @retval EFI_WRITE_PROTECTED InformationType is EFI_FILE_PROTOCOL_SYSTEM_INFO_ID
317 and the media is read only.
318 @retval EFI_WRITE_PROTECTED InformationType is EFI_FILE_SYSTEM_VOLUME_LABEL_ID
319 and the media is read-only.
320 @retval EFI_ACCESS_DENIED An attempt is made to change the name of a file to a
321 file that is already present.
322 @retval EFI_ACCESS_DENIED An attempt is being made to change the EFI_FILE_DIRECTORY
323 Attribute.
324 @retval EFI_ACCESS_DENIED An attempt is being made to change the size of a directory.
325 @retval EFI_ACCESS_DENIED InformationType is EFI_FILE_INFO_ID and the file was opened
326 read-only and an attempt is being made to modify a field
327 other than Attribute.
328 @retval EFI_VOLUME_FULL The volume is full.
329 @retval EFI_BAD_BUFFER_SIZE BufferSize is smaller than the size of the type indicated
330 by InformationType.
331
332**/
333typedef
336 IN EFI_FILE_PROTOCOL *This,
337 IN EFI_GUID *InformationType,
339 IN VOID *Buffer
340 );
341
342/**
343 Flushes all modified data associated with a file to a device.
344
345 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file
346 handle to flush.
347
348 @retval EFI_SUCCESS The data was flushed.
349 @retval EFI_NO_MEDIA The device has no medium.
350 @retval EFI_DEVICE_ERROR The device reported an error.
351 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
352 @retval EFI_WRITE_PROTECTED The file or medium is write-protected.
353 @retval EFI_ACCESS_DENIED The file was opened read-only.
354 @retval EFI_VOLUME_FULL The volume is full.
355
356**/
357typedef
361 );
362
363typedef struct {
364 //
365 // If Event is NULL, then blocking I/O is performed.
366 // If Event is not NULL and non-blocking I/O is supported, then non-blocking I/O is performed,
367 // and Event will be signaled when the read request is completed.
368 // The caller must be prepared to handle the case where the callback associated with Event
369 // occurs before the original asynchronous I/O request call returns.
370 //
372
373 //
374 // Defines whether or not the signaled event encountered an error.
375 //
377
378 //
379 // For OpenEx(): Not Used, ignored.
380 // For ReadEx(): On input, the size of the Buffer. On output, the amount of data returned in Buffer.
381 // In both cases, the size is measured in bytes.
382 // For WriteEx(): On input, the size of the Buffer. On output, the amount of data actually written.
383 // In both cases, the size is measured in bytes.
384 // For FlushEx(): Not used, ignored.
385 //
387
388 //
389 // For OpenEx(): Not Used, ignored.
390 // For ReadEx(): The buffer into which the data is read.
391 // For WriteEx(): The buffer of data to write.
392 // For FlushEx(): Not Used, ignored.
393 //
396
397/**
398 Opens a new file relative to the source directory's location.
399
400 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file
401 handle to the source location.
402 @param NewHandle A pointer to the location to return the opened handle for the new
403 file.
404 @param FileName The Null-terminated string of the name of the file to be opened.
405 The file name may contain the following path modifiers: "\", ".",
406 and "..".
407 @param OpenMode The mode to open the file. The only valid combinations that the
408 file may be opened with are: Read, Read/Write, or Create/Read/Write.
409 @param Attributes Only valid for EFI_FILE_MODE_CREATE, in which case these are the
410 attribute bits for the newly created file.
411 @param Token A pointer to the token associated with the transaction.
412
413 @retval EFI_SUCCESS If Event is NULL (blocking I/O): The data was read successfully.
414 If Event is not NULL (asynchronous I/O): The request was successfully
415 queued for processing.
416 @retval EFI_NOT_FOUND The specified file could not be found on the device.
417 @retval EFI_NO_MEDIA The device has no medium.
418 @retval EFI_MEDIA_CHANGED The device has a different medium in it or the medium is no
419 longer supported.
420 @retval EFI_DEVICE_ERROR The device reported an error.
421 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
422 @retval EFI_WRITE_PROTECTED An attempt was made to create a file, or open a file for write
423 when the media is write-protected.
424 @retval EFI_ACCESS_DENIED The service denied access to the file.
425 @retval EFI_OUT_OF_RESOURCES Not enough resources were available to open the file.
426 @retval EFI_VOLUME_FULL The volume is full.
427
428**/
429typedef
432 IN EFI_FILE_PROTOCOL *This,
433 OUT EFI_FILE_PROTOCOL **NewHandle,
435 IN UINT64 OpenMode,
436 IN UINT64 Attributes,
438 );
439
440/**
441 Reads data from a file.
442
443 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file handle to read data from.
444 @param Token A pointer to the token associated with the transaction.
445
446 @retval EFI_SUCCESS If Event is NULL (blocking I/O): The data was read successfully.
447 If Event is not NULL (asynchronous I/O): The request was successfully
448 queued for processing.
449 @retval EFI_NO_MEDIA The device has no medium.
450 @retval EFI_DEVICE_ERROR The device reported an error.
451 @retval EFI_DEVICE_ERROR An attempt was made to read from a deleted file.
452 @retval EFI_DEVICE_ERROR On entry, the current file position is beyond the end of the file.
453 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
454 @retval EFI_OUT_OF_RESOURCES Unable to queue the request due to lack of resources.
455**/
456typedef
459 IN EFI_FILE_PROTOCOL *This,
461 );
462
463/**
464 Writes data to a file.
465
466 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file handle to write data to.
467 @param Token A pointer to the token associated with the transaction.
468
469 @retval EFI_SUCCESS If Event is NULL (blocking I/O): The data was read successfully.
470 If Event is not NULL (asynchronous I/O): The request was successfully
471 queued for processing.
472 @retval EFI_UNSUPPORTED Writes to open directory files are not supported.
473 @retval EFI_NO_MEDIA The device has no medium.
474 @retval EFI_DEVICE_ERROR The device reported an error.
475 @retval EFI_DEVICE_ERROR An attempt was made to write to a deleted file.
476 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
477 @retval EFI_WRITE_PROTECTED The file or medium is write-protected.
478 @retval EFI_ACCESS_DENIED The file was opened read only.
479 @retval EFI_VOLUME_FULL The volume is full.
480 @retval EFI_OUT_OF_RESOURCES Unable to queue the request due to lack of resources.
481**/
482typedef
485 IN EFI_FILE_PROTOCOL *This,
487 );
488
489/**
490 Flushes all modified data associated with a file to a device.
491
492 @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file
493 handle to flush.
494 @param Token A pointer to the token associated with the transaction.
495
496 @retval EFI_SUCCESS If Event is NULL (blocking I/O): The data was read successfully.
497 If Event is not NULL (asynchronous I/O): The request was successfully
498 queued for processing.
499 @retval EFI_NO_MEDIA The device has no medium.
500 @retval EFI_DEVICE_ERROR The device reported an error.
501 @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted.
502 @retval EFI_WRITE_PROTECTED The file or medium is write-protected.
503 @retval EFI_ACCESS_DENIED The file was opened read-only.
504 @retval EFI_VOLUME_FULL The volume is full.
505 @retval EFI_OUT_OF_RESOURCES Unable to queue the request due to lack of resources.
506
507**/
508typedef
511 IN EFI_FILE_PROTOCOL *This,
513 );
514
515#define EFI_FILE_PROTOCOL_REVISION 0x00010000
516#define EFI_FILE_PROTOCOL_REVISION2 0x00020000
517#define EFI_FILE_PROTOCOL_LATEST_REVISION EFI_FILE_PROTOCOL_REVISION2
518
519//
520// Revision defined in EFI1.1.
521//
522#define EFI_FILE_REVISION EFI_FILE_PROTOCOL_REVISION
523
524///
525/// The EFI_FILE_PROTOCOL provides file IO access to supported file systems.
526/// An EFI_FILE_PROTOCOL provides access to a file's or directory's contents,
527/// and is also a reference to a location in the directory tree of the file system
528/// in which the file resides. With any given file handle, other files may be opened
529/// relative to this file's location, yielding new file handles.
530///
532 ///
533 /// The version of the EFI_FILE_PROTOCOL interface. The version specified
534 /// by this specification is EFI_FILE_PROTOCOL_LATEST_REVISION.
535 /// Future versions are required to be backward compatible to version 1.0.
536 ///
552};
553
555
556#endif
UINT64 UINTN
Unsigned value of native width.
unsigned long long UINT64
8-byte unsigned value.
unsigned short CHAR16
2-byte Character.
#define EFIAPI
#define VOID
Undeclared type.
Definition Base.h:272
struct _EFI_FILE_PROTOCOL EFI_FILE_PROTOCOL
EFI_STATUS(EFIAPI * EFI_FILE_FLUSH)(IN EFI_FILE_PROTOCOL *This)
Flushes all modified data associated with a file to a device.
struct _EFI_SIMPLE_FILE_SYSTEM_PROTOCOL EFI_SIMPLE_FILE_SYSTEM_PROTOCOL
EFI_STATUS(EFIAPI * EFI_FILE_WRITE)(IN EFI_FILE_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer)
Writes data to a file.
EFI_FILE_PROTOCOL EFI_FILE
EFI_GUID gEfiSimpleFileSystemProtocolGuid
EFI_STATUS(EFIAPI * EFI_FILE_DELETE)(IN EFI_FILE_PROTOCOL *This)
Close and delete the file handle.
EFI_SIMPLE_FILE_SYSTEM_PROTOCOL EFI_FILE_IO_INTERFACE
Protocol name defined in EFI1.1.
EFI_STATUS(EFIAPI * EFI_FILE_SET_INFO)(IN EFI_FILE_PROTOCOL *This, IN EFI_GUID *InformationType, IN UINTN BufferSize, IN VOID *Buffer)
Sets information about a file.
EFI_STATUS(EFIAPI * EFI_FILE_WRITE_EX)(IN EFI_FILE_PROTOCOL *This, IN OUT EFI_FILE_IO_TOKEN *Token)
Writes data to a file.
struct _EFI_FILE_PROTOCOL * EFI_FILE_HANDLE
EFI_STATUS(EFIAPI * EFI_FILE_OPEN)(IN EFI_FILE_PROTOCOL *This, OUT EFI_FILE_PROTOCOL **NewHandle, IN CHAR16 *FileName, IN UINT64 OpenMode, IN UINT64 Attributes)
Opens a new file relative to the source file's location.
EFI_STATUS(EFIAPI * EFI_FILE_GET_INFO)(IN EFI_FILE_PROTOCOL *This, IN EFI_GUID *InformationType, IN OUT UINTN *BufferSize, OUT VOID *Buffer)
Returns information about a file.
EFI_STATUS(EFIAPI * EFI_FILE_GET_POSITION)(IN EFI_FILE_PROTOCOL *This, OUT UINT64 *Position)
Returns a file's current position.
EFI_STATUS(EFIAPI * EFI_FILE_CLOSE)(IN EFI_FILE_PROTOCOL *This)
Closes a specified file handle.
EFI_STATUS(EFIAPI * EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_OPEN_VOLUME)(IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *This, OUT EFI_FILE_PROTOCOL **Root)
Open the root directory on a volume.
EFI_STATUS(EFIAPI * EFI_FILE_READ)(IN EFI_FILE_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer)
Reads data from a file.
EFI_STATUS(EFIAPI * EFI_FILE_FLUSH_EX)(IN EFI_FILE_PROTOCOL *This, IN OUT EFI_FILE_IO_TOKEN *Token)
Flushes all modified data associated with a file to a device.
EFI_STATUS(EFIAPI * EFI_FILE_SET_POSITION)(IN EFI_FILE_PROTOCOL *This, IN UINT64 Position)
Sets a file's current position.
EFI_STATUS(EFIAPI * EFI_FILE_READ_EX)(IN EFI_FILE_PROTOCOL *This, IN OUT EFI_FILE_IO_TOKEN *Token)
Reads data from a file.
EFI_STATUS(EFIAPI * EFI_FILE_OPEN_EX)(IN EFI_FILE_PROTOCOL *This, OUT EFI_FILE_PROTOCOL **NewHandle, IN CHAR16 *FileName, IN UINT64 OpenMode, IN UINT64 Attributes, IN OUT EFI_FILE_IO_TOKEN *Token)
Opens a new file relative to the source directory's location.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
#define EFI_EVENT
Definition efi.h:54
#define IN
Definition mlx_utils.h:28
#define OUT
Definition mlx_utils.h:29
UINT16_t BufferSize
Buffer size.
Definition pxe_api.h:7
UINT8_t FileName[128]
File name.
Definition pxe_api.h:3
SEGOFF16_t Buffer
Buffer address.
Definition pxe_api.h:8
The EFI_FILE_PROTOCOL provides file IO access to supported file systems.
EFI_FILE_DELETE Delete
EFI_FILE_GET_INFO GetInfo
UINT64 Revision
The version of the EFI_FILE_PROTOCOL interface.
EFI_FILE_READ_EX ReadEx
EFI_FILE_FLUSH_EX FlushEx
EFI_FILE_OPEN_EX OpenEx
EFI_FILE_WRITE_EX WriteEx
EFI_FILE_GET_POSITION GetPosition
EFI_FILE_SET_INFO SetInfo
EFI_FILE_SET_POSITION SetPosition
EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_OPEN_VOLUME OpenVolume
UINT64 Revision
The version of the EFI_SIMPLE_FILE_SYSTEM_PROTOCOL.