]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FatPkg/EnhancedFatDxe/Data.c
EmbeddedPkg/CoherentDmaLib: Add missing checks to DmaMap
[mirror_edk2.git] / FatPkg / EnhancedFatDxe / Data.c
index 2f8faa819b70d967b81547ad42db73e953ef11d2..56a265e4f2b872498460eef6b4ad40cebc58ddc2 100644 (file)
@@ -1,7 +1,8 @@
-/*++\r
+/** @file\r
+  Global data in the FAT Filesystem driver.\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
@@ -9,18 +10,7 @@ http://opensource.org/licenses/bsd-license.php
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
-\r
-Module Name:\r
-\r
-  Data.c\r
-\r
-Abstract:\r
-\r
-  Global data in the FAT Filesystem driver\r
-\r
-Revision History\r
-\r
---*/\r
+**/\r
 \r
 #include "Fat.h"\r
 \r
@@ -30,12 +20,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 +38,9 @@ EFI_FILE                        FatFileInterface = {
   FatSetPosition,\r
   FatGetInfo,\r
   FatSetInfo,\r
-  FatFlush\r
+  FatFlush,\r
+  FatOpenEx,\r
+  FatReadEx,\r
+  FatWriteEx,\r
+  FatFlushEx\r
 };\r