]> git.proxmox.com Git - mirror_edk2.git/blame - UefiCpuPkg/UefiCpuPkg.dsc
UefiCpuPkg/CpuMpPei: Build GUIDed-HOB to store all CPU BIST Data
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.dsc
CommitLineData
7b202cb0 1## @file\r
9e7864e2 2# UefiCpuPkg Package\r
3#\r
a7bd6695 4# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
9e7864e2 5#\r
01a1c0fc 6# This program and the accompanying materials\r
9e7864e2 7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
db61e163 10#\r
9e7864e2 11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
7b202cb0 14##\r
9e7864e2 15\r
16[Defines]\r
17 PLATFORM_NAME = UefiCpu\r
18 PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49\r
9ad15074 19 PLATFORM_VERSION = 0.3\r
9e7864e2 20 DSC_SPECIFICATION = 0x00010005\r
21 OUTPUT_DIRECTORY = Build/UefiCpu\r
173eeac9 22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64\r
a7bd6695 23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
9e7864e2 24 SKUID_IDENTIFIER = DEFAULT\r
25\r
26#\r
27# External libraries to build package\r
28#\r
29\r
7b202cb0 30[LibraryClasses]\r
9e7864e2 31 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
32 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
33 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
34 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
b7953e26 35 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
5e9ae436 36 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
9e7864e2 37 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
661cab5d 38 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
e518b40c 39 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
40 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
9e7864e2 41 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
42 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
e518b40c 43 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
44 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
164d5964
LG
45 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
46 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
47 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
173eeac9 48 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
173eeac9 49 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
1f569620 50 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
51 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
52 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
53 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
e41aad15 54 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
03673ae1 55 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
b3dc26ed 56 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
b7953e26 57 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
b7953e26
MK
58 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
59 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
406c7200
MK
60 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
61 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
d947a4cc
MK
62 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
63 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
b3dc26ed 64\r
d947a4cc
MK
65[LibraryClasses.common.SEC]\r
66 PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf\r
406c7200 67 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
b7953e26 68\r
164d5964
LG
69[LibraryClasses.common.PEIM]\r
70 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
1f569620 71 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
72 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
a1a4c7a4 73 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
3ea1d3e6 74\r
164d5964 75[LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]\r
3ea1d3e6 76 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
a81abf16 77 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
3ea1d3e6 78\r
79[LibraryClasses.IPF.PEIM]\r
80 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointerLibKr7.inf\r
db61e163 81\r
9e7864e2 82[LibraryClasses.common.DXE_DRIVER]\r
9e7864e2 83 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
db61e163 84 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
406c7200 85 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
7fadaacd 86 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
9e7864e2 87\r
173eeac9 88[LibraryClasses.common.DXE_SMM_DRIVER]\r
173eeac9 89 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
8d96b976 90 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
b3dc26ed 91 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
406c7200 92 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
db61e163 93\r
25705752
MK
94[LibraryClasses.common.UEFI_APPLICATION]\r
95 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
96 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
97\r
9e7864e2 98#\r
99# Drivers/Libraries within this package\r
100#\r
101\r
7b202cb0 102[Components]\r
3ca55ed4 103 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
e643315b 104 UefiCpuPkg/CpuIoPei/CpuIoPei.inf\r
2057d8c8 105 UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf\r
25705752 106 UefiCpuPkg/Application/Cpuid/Cpuid.inf\r
173eeac9 107\r
108[Components.IA32, Components.X64]\r
e518b40c 109 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
173eeac9 110 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
b7953e26 111 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
bfec5efa 112 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
989322c3 113 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
bf73cc4b 114 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
b7953e26 115 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
e41aad15 116 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
b7953e26 117 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
db61e163 118 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
a81abf16 119 UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
3e8ad6bd
JF
120 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
121 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
b7953e26 122 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
d947a4cc 123 UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf\r
406c7200
MK
124 UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
125 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
b3dc26ed
MK
126 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf\r
127 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf\r
d947a4cc 128 UefiCpuPkg/SecCore/SecCore.inf\r
b7953e26 129 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r
1f569620 130 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
72a8abde
HW
131\r
132[BuildOptions]\r
133 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r