]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/SimpleFileSystem.h
Fix small issues in SimpleFileSystem.h
[mirror_edk2.git] / MdePkg / Include / Protocol / SimpleFileSystem.h
index 6396e4df361f95cbaad60da14f82cf5bc874e51e..3f7f98d8fee0acba50c3588d315c93d8f91d56c8 100644 (file)
@@ -7,7 +7,7 @@
 \r
   UEFI 2.0 can boot from any valid EFI image contained in a SimpleFileSystem.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
+  Copyright (c) 2006 - 2009, Intel Corporation                                                         \r
   All rights reserved. This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
@@ -40,7 +40,7 @@ typedef struct _EFI_FILE_PROTOCOL         *EFI_FILE_HANDLE;
 /// Protocol name defined in EFI1.1.\r
 /// \r
 typedef EFI_SIMPLE_FILE_SYSTEM_PROTOCOL   EFI_FILE_IO_INTERFACE;\r
-typedef struct _EFI_FILE_PROTOCOL         EFI_FILE;\r
+typedef EFI_FILE_PROTOCOL                 EFI_FILE;\r
 \r
 /**\r
   Open the root directory on a volume.\r
@@ -49,7 +49,7 @@ typedef struct _EFI_FILE_PROTOCOL         EFI_FILE;
   @param  Root Returns an Open file handle for the root directory\r
 \r
   @retval EFI_SUCCESS          The device was opened.\r
-  @retval EFI_UNSUPPORTED      This volume does not suppor the file system.\r
+  @retval EFI_UNSUPPORTED      This volume does not support the file system.\r
   @retval EFI_NO_MEDIA         The device has no media.\r
   @retval EFI_DEVICE_ERROR     The device reported an error.\r
   @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted\r
@@ -82,7 +82,7 @@ struct _EFI_SIMPLE_FILE_SYSTEM_PROTOCOL {
 };\r
 \r
 /**\r
-  Open the root directory on a volume.\r
+  Opens a new file relative to the source file's location.\r
 \r
   @param  This       Protocol instance pointer.\r
   @param  NewHandle  Returns File Handle for FileName\r
@@ -140,7 +140,7 @@ EFI_STATUS
 typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_FILE_CLOSE)(\r
-  IN EFI_FILE  *This\r
+  IN EFI_FILE_PROTOCOL  *This\r
   );\r
 \r
 /**\r
@@ -155,7 +155,7 @@ EFI_STATUS
 typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_FILE_DELETE)(\r
-  IN EFI_FILE  *This\r
+  IN EFI_FILE_PROTOCOL  *This\r
   );\r
 \r
 /**\r
@@ -311,7 +311,7 @@ EFI_STATUS
 typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_FILE_FLUSH)(\r
-  IN EFI_FILE  *This\r
+  IN EFI_FILE_PROTOCOL  *This\r
   );\r
 \r
 #define EFI_FILE_PROTOCOL_REVISION   0x00010000\r