Home | History | Annotate | Download | only in EnhancedFatDxe
      1 /** @file
      2   Global data in the FAT Filesystem driver.
      3 
      4 Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>
      5 This program and the accompanying materials are licensed and made available
      6 under the terms and conditions of the BSD License which accompanies this
      7 distribution. The full text of the license may be found at
      8 http://opensource.org/licenses/bsd-license.php
      9 
     10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     12 
     13 **/
     14 
     15 #include "Fat.h"
     16 
     17 //
     18 // Globals
     19 //
     20 //
     21 // FatFsLock - Global lock for synchronizing all requests.
     22 //
     23 EFI_LOCK FatFsLock   = EFI_INITIALIZE_LOCK_VARIABLE (TPL_CALLBACK);
     24 
     25 EFI_LOCK FatTaskLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);
     26 
     27 //
     28 // Filesystem interface functions
     29 //
     30 EFI_FILE_PROTOCOL               FatFileInterface = {
     31   EFI_FILE_PROTOCOL_REVISION,
     32   FatOpen,
     33   FatClose,
     34   FatDelete,
     35   FatRead,
     36   FatWrite,
     37   FatGetPosition,
     38   FatSetPosition,
     39   FatGetInfo,
     40   FatSetInfo,
     41   FatFlush,
     42   FatOpenEx,
     43   FatReadEx,
     44   FatWriteEx,
     45   FatFlushEx
     46 };
     47