2e4b0fd7763c92a486241c5ea3cf94d45cc2d196
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.dsc
1 ## @file
2 # UefiCpuPkg Package
3 #
4 # Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 [Defines]
17 PLATFORM_NAME = UefiCpu
18 PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49
19 PLATFORM_VERSION = 0.90
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/UefiCpu
22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
25
26 #
27 # External libraries to build package
28 #
29
30 [LibraryClasses]
31 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
32 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
33 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
34 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
35 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
36 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
37 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
38 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
39 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
40 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
41 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
42 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
43 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
44 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
45 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
46 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
47 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
48 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
49 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
50 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
51 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
52 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
53 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
54 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
55 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
56 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
57 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
58 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
59 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
60 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
61 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
62 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
63 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
64 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
65
66 [LibraryClasses.common.SEC]
67 PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
68 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
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
80 [LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
81 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
82 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
83
84 [LibraryClasses.IPF.PEIM]
85 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointerLibKr7.inf
86
87 [LibraryClasses.common.DXE_DRIVER]
88 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
89 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
90 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
91 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
92 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
93
94 [LibraryClasses.common.DXE_SMM_DRIVER]
95 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.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.UEFI_APPLICATION]
101 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
102 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
103
104 #
105 # Drivers/Libraries within this package
106 #
107
108 [Components]
109 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
110 UefiCpuPkg/CpuIoPei/CpuIoPei.inf
111 UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
112 UefiCpuPkg/Application/Cpuid/Cpuid.inf
113
114 [Components.IA32, Components.X64]
115 UefiCpuPkg/CpuDxe/CpuDxe.inf
116 UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf {
117 <LibraryClasses>
118 NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
119 }
120 UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf {
121 <LibraryClasses>
122 NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
123 }
124 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
125 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
126 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
127 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
128 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
129 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
130 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
131 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
132 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
133 UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
134 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
135 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
136 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
137 UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
138 UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
139 UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
140 UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
141 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
142 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
143 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
144 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
145 UefiCpuPkg/SecCore/SecCore.inf
146 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
147 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
148 <Defines>
149 FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
150 <LibraryClasses>
151 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
152 }
153 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
154
155 [BuildOptions]
156 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES