1## @file
2#  Base ExtractGuidedSection Library.
3#  This instance can also be used in SEC phase only when the memory is ready in SEC phase.
4#  PCD PcdGuidedExtractHandlerTableAddress points to the available pysical memory space
5#  that is used to store Guided Extract Handlers.
6#  Note: A driver of type DXE_RUNTIME_DRIVER can use this ExtractGuidedSectionLib
7#  in their initialization without any issues. They only have to be careful in
8#  the implementation of runtime services, because this BASE library instance doesn't
9#  convert the address pointed by PcdGuidedExtractHandlerTableAddress to the virtual address.
10#  And a driver should use this ExtractGuidedSectionLib to do implementation internally, also
11#  this ExtractGuidedSectionLib couldn't be used for guided section extraction that is required
12#  by PEI and DXE core for recovery or capsule image processing, etc.
13#
14#  Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
15#
16#  This program and the accompanying materials
17#  are licensed and made available under the terms and conditions of the BSD License
18#  which accompanies this distribution. The full text of the license may be found at
19#  http://opensource.org/licenses/bsd-license.php.
20#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22#
23##
24
25[Defines]
26  INF_VERSION                    = 0x00010005
27  BASE_NAME                      = BaseExtractGuidedSectionLib
28  MODULE_UNI_FILE                = BaseExtractGuidedSectionLib.uni
29  FILE_GUID                      = 4e3236e9-d1c8-4c04-a89f-26f1c44b2592
30  MODULE_TYPE                    = BASE
31  VERSION_STRING                 = 1.0
32  LIBRARY_CLASS                  = ExtractGuidedSectionLib
33
34#
35# The following information is for reference only and not required by the build tools.
36#
37#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC (EBC is for build only)
38#
39
40[Sources]
41  BaseExtractGuidedSectionLib.c
42
43[Packages]
44  MdePkg/MdePkg.dec
45
46[LibraryClasses]
47  BaseMemoryLib
48  DebugLib
49  PcdLib
50
51[Pcd]
52  gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler         ## CONSUMES
53  gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress    ## CONSUMES
54
55