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