]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | Global data in the FAT Filesystem driver.\r | |
3 | \r | |
4 | Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>\r | |
5 | This program and the accompanying materials are licensed and made available\r | |
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 | |
13 | **/\r | |
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 | |
23 | EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_CALLBACK);\r | |
24 | \r | |
25 | EFI_LOCK FatTaskLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);\r | |
26 | \r | |
27 | //\r | |
28 | // Filesystem interface functions\r | |
29 | //\r | |
30 | EFI_FILE_PROTOCOL FatFileInterface = {\r | |
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 | |
41 | FatFlush,\r | |
42 | FatOpenEx,\r | |
43 | FatReadEx,\r | |
44 | FatWriteEx,\r | |
45 | FatFlushEx\r | |
46 | };\r |