• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  Support for Simple File System over Firmware Volume.
3#
4#  This driver uses the EFI_FIRMWARE_VOLUME2_PROTOCOL to expose files in firmware
5#  volumes via the the EFI_SIMPLE_FILESYSTEM_PROTOCOL and EFI_FILE_PROTOCOL.
6#
7#  It will expose a single directory, containing one file for each file in the firmware
8#  volume. If a file has a UI section, its contents will be used as a filename.
9#  Otherwise, a string representation of the GUID will be used.
10#  Files of an executable type (That is PEIM, DRIVER, COMBINED_PEIM_DRIVER and APPLICATION)
11#  will have ".efi" added to their filename.
12#
13#  Its primary intended use is to be able to start EFI applications embedded in FVs
14#  from the UEFI shell. It is entirely read-only.
15#
16#  Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>
17#  Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
18#
19#  This program and the accompanying materials
20#  are licensed and made available under the terms and conditions of the BSD License
21#  which accompanies this distribution.  The full text of the license may be found at
22#  http://opensource.org/licenses/bsd-license.php
23#
24#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
25#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
26#
27##
28
29[Defines]
30  INF_VERSION                    = 0x00010005
31  BASE_NAME                      = FvSimpleFileSystem
32  MODULE_UNI_FILE                = FvSimpleFileSystem.uni
33  FILE_GUID                      = 907125c0-a5f1-11e3-a3fe-a3198b49350c
34  MODULE_TYPE                    = UEFI_DRIVER
35  VERSION_STRING                 = 1.0
36  ENTRY_POINT                    = FvSimpleFileSystemEntryPoint
37
38[Sources]
39
40  ComponentName.c
41  FvSimpleFileSystem.c
42  FvSimpleFileSystemEntryPoint.c
43  FvSimpleFileSystemInternal.h
44
45[Packages]
46  MdePkg/MdePkg.dec
47  MdeModulePkg/MdeModulePkg.dec
48
49[LibraryClasses]
50  BaseLib
51  DevicePathLib
52  MemoryAllocationLib
53  PrintLib
54  UefiDriverEntryPoint
55  UefiLib
56
57[Pcd]
58  gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLang              ## SOMETIMES_CONSUMES
59  gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLang                      ## SOMETIMES_CONSUMES
60
61[Guids]
62  gEfiFileInfoGuid                                                         ## SOMETIMES_CONSUMES   ## UNDEFINED
63  gEfiFileSystemInfoGuid                                                   ## SOMETIMES_CONSUMES   ## UNDEFINED
64  gEfiFileSystemVolumeLabelInfoIdGuid                                      ## SOMETIMES_CONSUMES   ## UNDEFINED
65
66[Protocols]
67  gEfiDevicePathProtocolGuid                                               ## TO_START
68  gEfiFirmwareVolume2ProtocolGuid                                          ## TO_START
69  gEfiUnicodeCollationProtocolGuid                                         ## TO_START
70  gEfiUnicodeCollation2ProtocolGuid                                        ## TO_START
71  gEfiSimpleFileSystemProtocolGuid                                         ## BY_START
72
73[UserExtensions.TianoCore."ExtraFiles"]
74  FvSimpleFileSystemExtra.uni