• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  Load File Module
3#
4#  Allows the system to load a file from a FV2 based firmware volume.  This
5#  version of the module only supports loading of files for the purpose of
6#  booting from the file.
7#
8#  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
9#
10#  This program and the accompanying materials
11#  are licensed and made available under the terms and conditions of the BSD License
12#  which accompanies this distribution.  The full text of the license may be found at
13#  http://opensource.org/licenses/bsd-license.php
14#
15#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17#
18##
19
20[Defines]
21  INF_VERSION                    = 0x00010018
22  BASE_NAME                      = LoadFileOnFv2
23  FILE_GUID                      = BD712601-082F-4c59-8677-2C8A3C297948
24  MODULE_TYPE                    = DXE_DRIVER
25  VERSION_STRING                 = 1.0
26  ENTRY_POINT                    = LoadFileOnFv2Intialize
27  MODULE_UNI_FILE                = LoadFileOnFv2.uni
28
29#
30# The following information is for reference only and not required by the build tools.
31#
32#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
33#
34
35[Sources]
36  LoadFileOnFv2.c
37
38[Packages]
39  MdePkg/MdePkg.dec
40  MdeModulePkg/MdeModulePkg.dec
41
42[LibraryClasses]
43  DebugLib
44  UefiLib
45  BaseMemoryLib
46  UefiDriverEntryPoint
47  UefiBootServicesTableLib
48  MemoryAllocationLib
49  DevicePathLib
50
51[Guids]
52  ## SOMETIMES_CONSUMES ## UNDEFINED # Notify gLzmaCustomDecompressGuid SectionExtraction.
53  gLzmaCustomDecompressGuid
54
55[Protocols]
56  ## NOTIFY
57  ## CONSUMES
58  gEfiFirmwareVolume2ProtocolGuid
59  gEfiFirmwareVolumeBlockProtocolGuid  ## SOMETIMES_CONSUMES
60  gEfiLoadFileProtocolGuid    ## PRODUCES
61  gEfiDevicePathProtocolGuid  ## SOMETIMES_PRODUCES
62
63[Depex]
64  TRUE
65
66[UserExtensions.TianoCore."ExtraFiles"]
67  LoadFileOnFv2Extra.uni
68
69