]>
Commit | Line | Data |
---|---|---|
cae7420b DB |
1 | /** @file\r |
2 | Global data in the FAT Filesystem driver.\r | |
b9ec9330 | 3 | \r |
149d6335 | 4 | Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>\r |
6163cc98 | 5 | This program and the accompanying materials are licensed and made available\r |
b9ec9330 QH |
6 | under the terms and conditions of the BSD License which accompanies this\r |
7 | distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
cae7420b | 13 | **/\r |
b9ec9330 QH |
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 | |
149d6335 RN |
23 | EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_CALLBACK);\r |
24 | \r | |
25 | EFI_LOCK FatTaskLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);\r | |
b9ec9330 QH |
26 | \r |
27 | //\r | |
28 | // Filesystem interface functions\r | |
29 | //\r | |
dba03ba1 | 30 | EFI_FILE_PROTOCOL FatFileInterface = {\r |
b9ec9330 QH |
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 | |
149d6335 RN |
41 | FatFlush,\r |
42 | FatOpenEx,\r | |
43 | FatReadEx,\r | |
44 | FatWriteEx,\r | |
45 | FatFlushEx\r | |
b9ec9330 | 46 | };\r |