]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc
OvmfPkg: Implement MeasureHobList/MeasureFvImage
[mirror_edk2.git] / IntelFsp2WrapperPkg / IntelFsp2WrapperPkg.dsc
1 ## @file
2 # Provides drivers and definitions to support fsp in EDKII bios.
3 #
4 # Copyright (c) 2014 - 2021, 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 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
45 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
46
47 # FSP Wrapper Lib
48 FspWrapperApiLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
49 FspWrapperApiTestLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/BaseFspWrapperApiTestLibNull.inf
50 FspMeasurementLib|IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/BaseFspMeasurementLib.inf
51
52 # FSP platform sample
53 FspWrapperPlatformLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/BaseFspWrapperPlatformLibSample.inf
54 PlatformSecLib|IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf
55 FspWrapperHobProcessLib|IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/PeiFspWrapperHobProcessLibSample.inf
56
57 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
58
59 [LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
60 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
61 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
62 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
63 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
64 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
65 TpmMeasurementLib|SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf
66 TcgEventLogRecordLib|SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf
67 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
68 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
69
70 [LibraryClasses.common.DXE_DRIVER]
71 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
72 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
73 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
74 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
75 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
76 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
77 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
78 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
79
80 [Components.Ia32]
81 IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/BaseFspWrapperApiTestLibNull.inf
82 IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf
83 IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/PeiFspWrapperHobProcessLibSample.inf
84 IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/PeiFspWrapperApiTestLib.inf
85 IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/BaseFspMeasurementLib.inf
86
87 IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf
88 IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf
89
90 [Components.IA32, Components.X64]
91 IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
92 IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/BaseFspWrapperPlatformLibSample.inf
93 IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf
94
95 [PcdsFixedAtBuild.common]
96 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
97 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
98 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
99
100 [BuildOptions]
101 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES