]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/UefiCpuPkg.dsc
UefiCpuPkg: CpuIo2Smm: Move CpuIo2Smm driver to consume gMmst
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.dsc
1 ## @file
2 # UefiCpuPkg Package
3 #
4 # Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>
5 #
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
7 #
8 ##
9
10 [Defines]
11 PLATFORM_NAME = UefiCpu
12 PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49
13 PLATFORM_VERSION = 0.90
14 DSC_SPECIFICATION = 0x00010005
15 OUTPUT_DIRECTORY = Build/UefiCpu
16 SUPPORTED_ARCHITECTURES = IA32|X64
17 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
18 SKUID_IDENTIFIER = DEFAULT
19
20 #
21 # External libraries to build package
22 #
23
24 [LibraryClasses]
25 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
26 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
27 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
28 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
29 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
30 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
31 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
32 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
33 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
34 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
35 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
36 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
37 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
38 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
39 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
40 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
41 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
42 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
43 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
44 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
45 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
46 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
47 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
48 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
49 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
50 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
51 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
52 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
53 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
54 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
55 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
56 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
57 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
58 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
59 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
60
61 [LibraryClasses.common.SEC]
62 PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
63 !if $(TOOL_CHAIN_TAG) == "XCODE5"
64 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
65 !else
66 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
67 !endif
68 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
69 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
70 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
71
72 [LibraryClasses.common.PEIM]
73 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
74 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
75 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
76 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
77 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
78 CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
79
80 [LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
81 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
82 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
83
84 [LibraryClasses.common.DXE_DRIVER]
85 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
86 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
87 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
88 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
89 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
90 CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
91
92 [LibraryClasses.common.DXE_SMM_DRIVER]
93 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
94 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
95 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
96 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
97 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
98
99 [LibraryClasses.common.UEFI_APPLICATION]
100 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
101 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
102
103 #
104 # Drivers/Libraries within this package
105 #
106
107 [Components]
108 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
109 UefiCpuPkg/CpuIoPei/CpuIoPei.inf
110 UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
111 UefiCpuPkg/Application/Cpuid/Cpuid.inf
112 UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
113 UefiCpuPkg/Library/CpuTimerLib/DxeCpuTimerLib.inf
114 UefiCpuPkg/Library/CpuTimerLib/PeiCpuTimerLib.inf
115 UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
116 UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
117
118 [Components.IA32, Components.X64]
119 UefiCpuPkg/CpuDxe/CpuDxe.inf
120 UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf {
121 <LibraryClasses>
122 NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
123 }
124 UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf {
125 <LibraryClasses>
126 NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
127 }
128 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
129 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
130 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
131 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
132 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
133 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
134 UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
135 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
136 !if $(TOOL_CHAIN_TAG) != "XCODE5"
137 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
138 !endif
139 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
140 UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
141 UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
142 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
143 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
144 UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
145 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
146 UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
147 UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
148 UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
149 UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
150 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
151 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
152 UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
153 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
154 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
155 UefiCpuPkg/SecCore/SecCore.inf
156 UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
157 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
158 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
159 <Defines>
160 FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
161 <LibraryClasses>
162 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
163 }
164 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
165 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
166
167 [BuildOptions]
168 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES