X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=FatPkg%2FEnhancedFatDxe%2FData.c;h=56a265e4f2b872498460eef6b4ad40cebc58ddc2;hb=621d1f45adf4b9ba73adfefc41e4b17b89623aad;hp=c34f51d79c3c29abf37d193204c59abb1b21769d;hpb=dba03ba1ef6fc83af55675a6f4eb36bf13791aa4;p=mirror_edk2.git diff --git a/FatPkg/EnhancedFatDxe/Data.c b/FatPkg/EnhancedFatDxe/Data.c index c34f51d79c..56a265e4f2 100644 --- a/FatPkg/EnhancedFatDxe/Data.c +++ b/FatPkg/EnhancedFatDxe/Data.c @@ -1,7 +1,8 @@ -/*++ +/** @file + Global data in the FAT Filesystem driver. -Copyright (c) 2005 - 2009, Intel Corporation -All rights reserved. This program and the accompanying materials are licensed and made available +Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -9,18 +10,7 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -Module Name: - - Data.c - -Abstract: - - Global data in the FAT Filesystem driver - -Revision History - ---*/ +**/ #include "Fat.h" @@ -30,7 +20,9 @@ Revision History // // FatFsLock - Global lock for synchronizing all requests. // -EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE(TPL_CALLBACK); +EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_CALLBACK); + +EFI_LOCK FatTaskLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY); // // Filesystem interface functions @@ -46,5 +38,9 @@ EFI_FILE_PROTOCOL FatFileInterface = { FatSetPosition, FatGetInfo, FatSetInfo, - FatFlush + FatFlush, + FatOpenEx, + FatReadEx, + FatWriteEx, + FatFlushEx };