Data.c 1.0 KB

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