]> git.proxmox.com Git - mirror_edk2.git/blame - FatPkg/EnhancedFatDxe/Data.c
BaseTools: Library hashing fix and optimization for --hash feature
[mirror_edk2.git] / FatPkg / EnhancedFatDxe / Data.c
CommitLineData
cae7420b
DB
1/** @file\r
2 Global data in the FAT Filesystem driver.\r
b9ec9330 3\r
149d6335 4Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>\r
eb6cb4ce 5SPDX-License-Identifier: BSD-2-Clause-Patent\r
b9ec9330 6\r
cae7420b 7**/\r
b9ec9330
QH
8\r
9#include "Fat.h"\r
10\r
11//\r
12// Globals\r
13//\r
14//\r
15// FatFsLock - Global lock for synchronizing all requests.\r
16//\r
149d6335
RN
17EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_CALLBACK);\r
18\r
19EFI_LOCK FatTaskLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);\r
b9ec9330
QH
20\r
21//\r
22// Filesystem interface functions\r
23//\r
dba03ba1 24EFI_FILE_PROTOCOL FatFileInterface = {\r
b9ec9330
QH
25 EFI_FILE_PROTOCOL_REVISION,\r
26 FatOpen,\r
27 FatClose,\r
28 FatDelete,\r
29 FatRead,\r
30 FatWrite,\r
31 FatGetPosition,\r
32 FatSetPosition,\r
33 FatGetInfo,\r
34 FatSetInfo,\r
149d6335
RN
35 FatFlush,\r
36 FatOpenEx,\r
37 FatReadEx,\r
38 FatWriteEx,\r
39 FatFlushEx\r
b9ec9330 40};\r