]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - FatPkg/EnhancedFatDxe/Data.c
FatPkg/EnhancedFatDxe: Ensure traverse of subtasks is delete-safe
[mirror_edk2.git] / FatPkg / EnhancedFatDxe / Data.c
... / ...
CommitLineData
1/** @file\r
2 Global data in the FAT Filesystem driver.\r
3\r
4Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>\r
5This program and the accompanying materials are licensed and made available\r
6under the terms and conditions of the BSD License which accompanies this\r
7distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#include "Fat.h"\r
16\r
17//\r
18// Globals\r
19//\r
20//\r
21// FatFsLock - Global lock for synchronizing all requests.\r
22//\r
23EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_CALLBACK);\r
24\r
25EFI_LOCK FatTaskLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);\r
26\r
27//\r
28// Filesystem interface functions\r
29//\r
30EFI_FILE_PROTOCOL FatFileInterface = {\r
31 EFI_FILE_PROTOCOL_REVISION,\r
32 FatOpen,\r
33 FatClose,\r
34 FatDelete,\r
35 FatRead,\r
36 FatWrite,\r
37 FatGetPosition,\r
38 FatSetPosition,\r
39 FatGetInfo,\r
40 FatSetInfo,\r
41 FatFlush,\r
42 FatOpenEx,\r
43 FatReadEx,\r
44 FatWriteEx,\r
45 FatFlushEx\r
46};\r