]>
Commit | Line | Data |
---|---|---|
b9ec9330 QH |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2005, Intel Corporation\r | |
4 | All rights reserved. This program and the accompanying materials are licensed and made available\r | |
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 | |
33 | EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE(TPL_CALLBACK);\r | |
34 | \r | |
35 | //\r | |
36 | // Filesystem interface functions\r | |
37 | //\r | |
38 | EFI_FILE FatFileInterface = {\r | |
39 | EFI_FILE_PROTOCOL_REVISION,\r | |
40 | FatOpen,\r | |
41 | FatClose,\r | |
42 | FatDelete,\r | |
43 | FatRead,\r | |
44 | FatWrite,\r | |
45 | FatGetPosition,\r | |
46 | FatSetPosition,\r | |
47 | FatGetInfo,\r | |
48 | FatSetInfo,\r | |
49 | FatFlush\r | |
50 | };\r |