]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FatPkg/EnhancedFatDxe/Data.c
EFI_FILE_PROTOCOL spec conformance bug fix.
[mirror_edk2.git] / FatPkg / EnhancedFatDxe / Data.c
index 2f8faa819b70d967b81547ad42db73e953ef11d2..b20cc4592d3f52cf3c182cb85c24c96b2d8989c1 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2005, Intel Corporation\r
-All rights reserved. This program and the accompanying materials are licensed and made available\r
+Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available\r
 under the terms and conditions of the BSD License which accompanies this\r
 distribution. The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -30,12 +30,14 @@ Revision History
 //\r
 // FatFsLock - Global lock for synchronizing all requests.\r
 //\r
-EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE(TPL_CALLBACK);\r
+EFI_LOCK FatFsLock   = EFI_INITIALIZE_LOCK_VARIABLE (TPL_CALLBACK);\r
+\r
+EFI_LOCK FatTaskLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);\r
 \r
 //\r
 // Filesystem interface functions\r
 //\r
-EFI_FILE                        FatFileInterface = {\r
+EFI_FILE_PROTOCOL               FatFileInterface = {\r
   EFI_FILE_PROTOCOL_REVISION,\r
   FatOpen,\r
   FatClose,\r
@@ -46,5 +48,9 @@ EFI_FILE                        FatFileInterface = {
   FatSetPosition,\r
   FatGetInfo,\r
   FatSetInfo,\r
-  FatFlush\r
+  FatFlush,\r
+  FatOpenEx,\r
+  FatReadEx,\r
+  FatWriteEx,\r
+  FatFlushEx\r
 };\r