]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/UefiCpuPkg.dsc
UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver under StandaloneMm
[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 StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
42 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
43 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
44 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
45 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
46 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
47 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
48 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
49 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
50 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
51 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
52 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
53 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
54 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
55 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
56 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
57 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
58 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
59 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
60 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
61
62 [LibraryClasses.common.SEC]
63 PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
64 !if $(TOOL_CHAIN_TAG) == "XCODE5"
65 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
66 !else
67 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
68 !endif
69 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
70 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
71 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
72
73 [LibraryClasses.common.PEIM]
74 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
75 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
76 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
77 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
78 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
79 CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
80
81 [LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
82 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
83 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
84
85 [LibraryClasses.common.DXE_DRIVER]
86 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
87 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
88 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
89 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
90 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
91 CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
92
93 [LibraryClasses.common.DXE_SMM_DRIVER]
94 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
95 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
96 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
97 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
98 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
99
100 [LibraryClasses.common.MM_STANDALONE]
101 MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
102
103 [LibraryClasses.common.UEFI_APPLICATION]
104 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
105 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
106
107 #
108 # Drivers/Libraries within this package
109 #
110
111 [Components]
112 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
113 UefiCpuPkg/CpuIoPei/CpuIoPei.inf
114 UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
115 UefiCpuPkg/Application/Cpuid/Cpuid.inf
116 UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
117 UefiCpuPkg/Library/CpuTimerLib/DxeCpuTimerLib.inf
118 UefiCpuPkg/Library/CpuTimerLib/PeiCpuTimerLib.inf
119 UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
120 UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
121
122 [Components.IA32, Components.X64]
123 UefiCpuPkg/CpuDxe/CpuDxe.inf
124 UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf {
125 <LibraryClasses>
126 NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
127 }
128 UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf {
129 <LibraryClasses>
130 NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
131 }
132 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
133 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.inf
134 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
135 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
136 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
137 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
138 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
139 UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
140 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
141 !if $(TOOL_CHAIN_TAG) != "XCODE5"
142 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
143 !endif
144 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
145 UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
146 UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
147 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
148 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
149 UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
150 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
151 UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
152 UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
153 UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
154 UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
155 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
156 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
157 UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
158 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
159 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
160 UefiCpuPkg/SecCore/SecCore.inf
161 UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
162 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
163 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
164 <Defines>
165 FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
166 <LibraryClasses>
167 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
168 }
169 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
170 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
171
172 [BuildOptions]
173 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES