]> git.proxmox.com Git - mirror_edk2.git/blame - FatPkg/EnhancedFatDxe/Data.c
1. Correct File header to ## @file 2. Remove unnecessary .common] postfix on section.
[mirror_edk2.git] / FatPkg / EnhancedFatDxe / Data.c
CommitLineData
b9ec9330
QH
1/*++\r
2\r
dba03ba1 3Copyright (c) 2005 - 2009, Intel Corporation\r
b9ec9330
QH
4All rights reserved. This program and the accompanying materials are licensed and made available\r
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
33EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE(TPL_CALLBACK);\r
34\r
35//\r
36// Filesystem interface functions\r
37//\r
dba03ba1 38EFI_FILE_PROTOCOL FatFileInterface = {\r
b9ec9330
QH
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