summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/SimpleFileSystem.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 10:37:15 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 10:37:15 +0000
commit4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086 (patch)
tree9a160b769c30da11432d201c7ba7214ef452f650 /MdePkg/Include/Protocol/SimpleFileSystem.h
parentbb80e3b213f1d9409cd97a63e4d40191ce502912 (diff)
downloadedk2-platforms-4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086.tar.xz
Code Scrub for Protocol and Ppi Definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5564 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/SimpleFileSystem.h')
-rw-r--r--MdePkg/Include/Protocol/SimpleFileSystem.h45
1 files changed, 44 insertions, 1 deletions
diff --git a/MdePkg/Include/Protocol/SimpleFileSystem.h b/MdePkg/Include/Protocol/SimpleFileSystem.h
index 8c24425ead..dfc8bc31fb 100644
--- a/MdePkg/Include/Protocol/SimpleFileSystem.h
+++ b/MdePkg/Include/Protocol/SimpleFileSystem.h
@@ -7,7 +7,7 @@
UEFI 2.0 can boot from any valid EFI image contained in a SimpleFileSystem
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -325,6 +325,49 @@ EFI_STATUS
//
#define EFI_FILE_REVISION EFI_FILE_PROTOCOL_REVISION
+/**
+ @par Protocol Description:
+ The EFI_FILE_PROTOCOL provides file IO access to supported file systems.
+ An EFI_FILE_PROTOCOL provides access to a file's or directory's contents,
+ and is also a reference to a location in the directory tree of the file system
+ in which the file resides. With any given file handle, other files may be opened
+ relative to this file's location, yielding new file handles.
+
+ @param Revision
+ The version of the EFI_FILE_PROTOCOL interface. The version specified
+ by this specification is 0x00010000. Future versions are required
+ to be backward compatible to version 1.0.
+
+ @param Open
+ Opens or creates a new file.
+
+ @param Close
+ Closes the current file handle.
+
+ @param Delete
+ Deletes a file.
+
+ @param Read
+ Reads bytes from a file.
+
+ @param Write
+ Writes bytes to a file.
+
+ @param GetPosition
+ Returns the current file position.
+
+ @param SetPosition
+ Sets the current file position.
+
+ @param GetInfo
+ Gets the requested file or volume information.
+
+ @param SetInfo
+ Sets the requested file information.
+
+ @param Flush
+ Flushes all modified data associated with the file to the device.
+**/
struct _EFI_FILE_PROTOCOL {
UINT64 Revision;
EFI_FILE_OPEN Open;