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