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