]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc
IntelFsp2Wrapper/dsc: Add FspTpmMeasurementLib and PcdFspMeasurementConfig.
[mirror_edk2.git] / IntelFsp2WrapperPkg / IntelFsp2WrapperPkg.dsc
1 ## @file
2 # Provides drivers and definitions to support fsp in EDKII bios.
3 #
4 # Copyright (c) 2014 - 2020, 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 [LibraryClasses]
20 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
21 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
22 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
23 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
24 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
25 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
26 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
27 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
28 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
29 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
30 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
31 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
32
33 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
34 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
35 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
36 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
37
38 # MdeModulePkg
39 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
40
41 # UefiCpuPkg
42 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
43 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
44
45 # FSP Wrapper Lib
46 FspWrapperApiLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
47 FspWrapperApiTestLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/BaseFspWrapperApiTestLibNull.inf
48 FspMeasurementLib|IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/BaseFspMeasurementLib.inf
49
50 # FSP platform sample
51 FspWrapperPlatformLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/BaseFspWrapperPlatformLibSample.inf
52 PlatformSecLib|IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf
53 FspWrapperHobProcessLib|IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/PeiFspWrapperHobProcessLibSample.inf
54
55 [LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
56 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
57 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
58 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
59 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
60 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
61 TpmMeasurementLib|SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf
62 TcgEventLogRecordLib|SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf
63
64 [LibraryClasses.common.DXE_DRIVER]
65 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
66 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
67 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
68 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
69 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
70 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
71 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
72 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
73
74 [Components.Ia32]
75 IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/BaseFspWrapperApiTestLibNull.inf
76 IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf
77 IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/PeiFspWrapperHobProcessLibSample.inf
78 IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/PeiFspWrapperApiTestLib.inf
79 IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/BaseFspMeasurementLib.inf
80
81 IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf
82 IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf
83
84 [Components.IA32, Components.X64]
85 IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
86 IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/BaseFspWrapperPlatformLibSample.inf
87 IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf
88
89 [PcdsFixedAtBuild.common]
90 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
91 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
92 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
93
94 [BuildOptions]
95 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES