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 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
15 | #
|
---|
16 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
17 | #
|
---|
18 | ##
|
---|
19 |
|
---|
20 | [Defines]
|
---|
21 | INF_VERSION = 0x00010005
|
---|
22 | BASE_NAME = BaseExtractGuidedSectionLib
|
---|
23 | MODULE_UNI_FILE = BaseExtractGuidedSectionLib.uni
|
---|
24 | FILE_GUID = 4e3236e9-d1c8-4c04-a89f-26f1c44b2592
|
---|
25 | MODULE_TYPE = BASE
|
---|
26 | VERSION_STRING = 1.0
|
---|
27 | LIBRARY_CLASS = ExtractGuidedSectionLib
|
---|
28 |
|
---|
29 | #
|
---|
30 | # The following information is for reference only and not required by the build tools.
|
---|
31 | #
|
---|
32 | # VALID_ARCHITECTURES = IA32 X64 EBC (EBC is for build only)
|
---|
33 | #
|
---|
34 |
|
---|
35 | [Sources]
|
---|
36 | BaseExtractGuidedSectionLib.c
|
---|
37 |
|
---|
38 | [Packages]
|
---|
39 | MdePkg/MdePkg.dec
|
---|
40 |
|
---|
41 | [LibraryClasses]
|
---|
42 | BaseMemoryLib
|
---|
43 | DebugLib
|
---|
44 | PcdLib
|
---|
45 |
|
---|
46 | [Pcd]
|
---|
47 | gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler ## CONSUMES
|
---|
48 | gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress ## CONSUMES
|
---|
49 |
|
---|