]>
Commit | Line | Data |
---|---|---|
b9ec9330 QH |
1 | /*++\r |
2 | \r | |
149d6335 | 3 | Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>\r |
6163cc98 | 4 | This program and the accompanying materials are licensed and made available\r |
b9ec9330 QH |
5 | under the terms and conditions of the BSD License which accompanies this\r |
6 | distribution. The full text of the license may be found at\r | |
7 | http://opensource.org/licenses/bsd-license.php\r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | \r | |
12 | \r | |
13 | Module Name:\r | |
14 | \r | |
15 | Data.c\r | |
16 | \r | |
17 | Abstract:\r | |
18 | \r | |
19 | Global data in the FAT Filesystem driver\r | |
20 | \r | |
21 | Revision 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 |
33 | EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_CALLBACK);\r |
34 | \r | |
35 | EFI_LOCK FatTaskLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);\r | |
b9ec9330 QH |
36 | \r |
37 | //\r | |
38 | // Filesystem interface functions\r | |
39 | //\r | |
dba03ba1 | 40 | EFI_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 |