]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Include/Library/EfiFileLib.h
EmbeddedPkg: Fix mispellings
[mirror_edk2.git] / EmbeddedPkg / Include / Library / EfiFileLib.h
index 4e3c80d7ecbdd5e216931c587f74d58f6a6aa65d..033375cea04011bc85e1a4edc1c768e0321eeaa3 100644 (file)
@@ -2,10 +2,10 @@
   Library functions that perform file IO. Memory buffer, file system, and \r
   fimrware volume operations are supproted. \r
 \r
-  Copyright (c) 2007, Intel Corporation<BR>\r
-  Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>\r
+  Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
-  All rights reserved. This program and the accompanying materials\r
+  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
   http://opensource.org/licenses/bsd-license.php\r
@@ -87,12 +87,14 @@ typedef struct {
   EFI_FV_FILE_ATTRIBUTES        FvAttributes;     \r
 \r
   EFI_PHYSICAL_ADDRESS          FvStart;          \r
-  UINTN                         FvSize;           \r
+  UINTN                         FvSize;      \r
+  UINTN                         FvHeaderSize;\r
 \r
   EFI_FILE                      *FsFileHandle;    // Information valid for Fs#:\r
   EFI_FILE_SYSTEM_INFO          *FsInfo;\r
   EFI_FILE_INFO                 *FsFileInfo;\r
-  EFI_BLOCK_IO_MEDIA            FsBlockIoMedia;   // Information valid for Fs#: or B#:\r
+  EFI_BLOCK_IO_MEDIA            *FsBlockIoMedia;  // Information valid for Fs#: or B#:\r
+  EFI_BLOCK_IO_PROTOCOL         *FsBlockIo;       // Information valid for Fs#: or B#:\r
 \r
   UINTN                         DiskOffset;       // Information valid for B#:\r
 \r
@@ -116,12 +118,12 @@ typedef enum {
 \r
 /**\r
   Open a device named by PathName. The PathName includes a device name and \r
-  path seperated by a :. See file header for more details on the PathName \r
+  path separated by a :. See file header for more details on the PathName\r
   syntax. There is no checking to prevent a file from being opened more than\r
   one type. \r
 \r
   SectionType is only used to open an FV. Each file in an FV contains multiple\r
-  secitons and only the SectionType section is opened. \r
+  sections and only the SectionType section is opened.\r
 \r
   For any file that is opened with EfiOpen() must be closed with EfiClose().\r
 \r
@@ -197,7 +199,7 @@ EfiTell (
 \r
 \r
 /**\r
-  Seek to the Offset locaiton in the file. LoadFile and FV device types do\r
+  Seek to the Offset location in the file. LoadFile and FV device types do\r
   not support EfiSeek(). It is not possible to grow the file size using \r
   EfiSeek().\r
   \r
@@ -212,7 +214,7 @@ EfiTell (
 \r
 \r
   @return EFI_INVALID_PARAMETER  Stream is not an Open File\r
-  @return EFI_UNSUPPORTED        LoadFile and FV doe not support Seek\r
+  @return EFI_UNSUPPORTED        LoadFile and FV does not support Seek\r
   @return EFI_NOT_FOUND          Seek past the end of the file.\r
   @return EFI_SUCCESS            Steam closed\r
 \r
@@ -226,7 +228,7 @@ EfiSeek (
 \r
 \r
 /**\r
-  Read BufferSize bytes from the current locaiton in the file. For load file\r
+  Read BufferSize bytes from the current location in the file. For load file\r
   and FV case you must read the entire file. \r
 \r
   @param  Stream      Open File Handle\r
@@ -253,7 +255,7 @@ EfiRead (
   Read the entire file into a buffer. This routine allocates the buffer and\r
   returns it to the user full of the read data. \r
 \r
-  This is very useful for load flie where it's hard to know how big the buffer\r
+  This is very useful for load file where it's hard to know how big the buffer\r
   must be.\r
 \r
   @param  Stream      Open File Handle\r
@@ -314,7 +316,7 @@ EfiGetDeviceCounts (
   \r
 \r
 /**\r
-  Set the Curent Working Directory (CWD). If a call is made to EfiOpen () and \r
+  Set the Current Working Directory (CWD). If a call is made to EfiOpen () and\r
   the path does not contain a device name, The CWD is prepended to the path.\r
   \r
   @param  Cwd     Current Working Directory to set\r
@@ -330,7 +332,7 @@ EfiSetCwd (
   );  \r
 \r
 /**\r
-  Set the Curent Working Directory (CWD). If a call is made to EfiOpen () and \r
+  Set the Current Working Directory (CWD). If a call is made to EfiOpen () and\r
   the path does not contain a device name, The CWD is prepended to the path.\r
   \r
   @param  Cwd     Current Working Directory \r
@@ -341,7 +343,7 @@ EfiSetCwd (
   \r
 **/\r
 CHAR8 *\r
-EfiGettCwd (\r
+EfiGetCwd (\r
   VOID\r
   );  \r
 \r