1 | ## @file
|
---|
2 | # Provides drivers and definitions to support fsp in EDKII bios.
|
---|
3 | #
|
---|
4 | # Copyright (c) 2014 - 2022, Intel Corporation. All rights reserved.<BR>
|
---|
5 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 | #
|
---|
7 | ##
|
---|
8 |
|
---|
9 | [Defines]
|
---|
10 | PLATFORM_NAME = IntelFsp2WrapperPkg
|
---|
11 | PLATFORM_GUID = 34813E26-C930-427D-8993-80530549EADA
|
---|
12 | PLATFORM_VERSION = 0.1
|
---|
13 | DSC_SPECIFICATION = 0x00010005
|
---|
14 | OUTPUT_DIRECTORY = Build/IntelFsp2WrapperPkg
|
---|
15 | SUPPORTED_ARCHITECTURES = IA32|X64
|
---|
16 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
---|
17 | SKUID_IDENTIFIER = DEFAULT
|
---|
18 |
|
---|
19 | !include MdePkg/MdeLibs.dsc.inc
|
---|
20 |
|
---|
21 | [LibraryClasses]
|
---|
22 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
---|
23 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
---|
24 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
---|
25 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
26 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
---|
27 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
---|
28 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
|
---|
29 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
---|
30 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
31 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
---|
32 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
33 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
---|
34 |
|
---|
35 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
---|
36 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
---|
37 | ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
---|
38 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
---|
39 |
|
---|
40 | # MdeModulePkg
|
---|
41 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
---|
42 |
|
---|
43 | # UefiCpuPkg
|
---|
44 | LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
|
---|
45 |
|
---|
46 | # FSP Wrapper Lib
|
---|
47 | FspWrapperApiLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
|
---|
48 | FspWrapperApiTestLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/BaseFspWrapperApiTestLibNull.inf
|
---|
49 | FspMeasurementLib|IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/BaseFspMeasurementLib.inf
|
---|
50 | FspWrapperPlatformMultiPhaseLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformMultiPhaseLibNull/BaseFspWrapperPlatformMultiPhaseLibNull.inf
|
---|
51 | FspWrapperMultiPhaseProcessLib|IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/FspWrapperMultiPhaseProcessLib.inf
|
---|
52 |
|
---|
53 | # FSP platform sample
|
---|
54 | FspWrapperPlatformLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/BaseFspWrapperPlatformLibSample.inf
|
---|
55 | PlatformSecLib|IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf
|
---|
56 | FspWrapperHobProcessLib|IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/PeiFspWrapperHobProcessLibSample.inf
|
---|
57 |
|
---|
58 | Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
|
---|
59 |
|
---|
60 | [LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
|
---|
61 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
---|
62 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
---|
63 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
64 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
65 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
66 | TpmMeasurementLib|SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf
|
---|
67 | TcgEventLogRecordLib|SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf
|
---|
68 | HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
|
---|
69 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
|
---|
70 |
|
---|
71 | [LibraryClasses.common.DXE_DRIVER]
|
---|
72 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
---|
73 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
---|
74 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
---|
75 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
---|
76 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
---|
77 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
78 | DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
|
---|
79 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
80 |
|
---|
81 | [Components.Ia32]
|
---|
82 | IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/BaseFspWrapperApiTestLibNull.inf
|
---|
83 | IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf
|
---|
84 | IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/PeiFspWrapperHobProcessLibSample.inf
|
---|
85 | IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/PeiFspWrapperApiTestLib.inf
|
---|
86 | IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/BaseFspMeasurementLib.inf
|
---|
87 |
|
---|
88 | IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf
|
---|
89 | IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf
|
---|
90 |
|
---|
91 | [Components.IA32, Components.X64]
|
---|
92 | IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
|
---|
93 | IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/BaseFspWrapperPlatformLibSample.inf
|
---|
94 | IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf
|
---|
95 | IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformMultiPhaseLibNull/BaseFspWrapperPlatformMultiPhaseLibNull.inf
|
---|
96 | IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/FspWrapperMultiPhaseProcessLib.inf
|
---|
97 |
|
---|
98 | [PcdsFixedAtBuild.common]
|
---|
99 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
|
---|
100 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
|
---|
101 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
---|
102 |
|
---|
103 | [BuildOptions]
|
---|
104 | *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
---|