]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/FvbRuntimeService/FileIo.h
Use to use UEFI EFI_FILE_PROTOCOL to replace EFI_FILE
[mirror_edk2.git] / DuetPkg / FvbRuntimeService / FileIo.h
index 67068bfee2760c0cea051fd437c0dc8ef7bcc989..b6c5040e4c97e7fc483b3044c0d7297ecd199aeb 100644 (file)
@@ -1,5 +1,5 @@
 /**@file\r
-Copyright (c) 2007, Intel Corporation                                                         \r
+Copyright (c) 2007 - 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
@@ -24,10 +24,10 @@ Abstract:
 \r
 EFI_STATUS\r
 FileWrite (\r
-  IN EFI_FILE  *File,\r
-  IN UINTN     Offset,\r
-  IN UINTN     Buffer,\r
-  IN UINTN     Size\r
+  IN EFI_FILE_PROTOCOL  *File,\r
+  IN UINTN              Offset,\r
+  IN UINTN              Buffer,\r
+  IN UINTN              Size\r
   );\r
 \r
 EFI_STATUS\r
@@ -46,13 +46,13 @@ EFI_STATUS
 FileOpen (\r
   IN  EFI_DEVICE_PATH_PROTOCOL   *Device,\r
   IN  CHAR16                     *MappedFile,\r
-  OUT EFI_FILE                   **File,\r
+  OUT EFI_FILE_PROTOCOL          **File,\r
   IN  UINT64                     OpenMode\r
   );\r
 \r
 VOID\r
 FileClose (\r
-  IN  EFI_FILE                   *File\r
+  IN  EFI_FILE_PROTOCOL          *File\r
   );\r
 \r
 #endif // _FW_BLOCK_SERVICE_FILE_IO_H\r