]> git.proxmox.com Git - mirror_edk2.git/blob - FatPkg/EnhancedFatDxe/Data.c
1. Correct File header to ## @file 2. Remove unnecessary .common] postfix on section.
[mirror_edk2.git] / FatPkg / EnhancedFatDxe / Data.c
1 /*++
2
3 Copyright (c) 2005 - 2009, Intel Corporation
4 All rights reserved. This program and the accompanying materials are licensed and made available
5 under the terms and conditions of the BSD License which accompanies this
6 distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12
13 Module Name:
14
15 Data.c
16
17 Abstract:
18
19 Global data in the FAT Filesystem driver
20
21 Revision History
22
23 --*/
24
25 #include "Fat.h"
26
27 //
28 // Globals
29 //
30 //
31 // FatFsLock - Global lock for synchronizing all requests.
32 //
33 EFI_LOCK FatFsLock = EFI_INITIALIZE_LOCK_VARIABLE(TPL_CALLBACK);
34
35 //
36 // Filesystem interface functions
37 //
38 EFI_FILE_PROTOCOL FatFileInterface = {
39 EFI_FILE_PROTOCOL_REVISION,
40 FatOpen,
41 FatClose,
42 FatDelete,
43 FatRead,
44 FatWrite,
45 FatGetPosition,
46 FatSetPosition,
47 FatGetInfo,
48 FatSetInfo,
49 FatFlush
50 };