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