]> git.proxmox.com Git - mirror_edk2.git/blame - UefiCpuPkg/UefiCpuPkg.dsc
IntelFrameworkModulePkg: Refine casting expression result to bigger size
[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
5c7cf1cc 64 MicrocodeFlashAccessLib|UefiCpuPkg/Feature/Capsule/Library/MicrocodeFlashAccessLibNull/MicrocodeFlashAccessLibNull.inf\r
09119a00 65 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
b3dc26ed 66\r
d947a4cc
MK
67[LibraryClasses.common.SEC]\r
68 PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf\r
406c7200 69 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
863c738c
JF
70 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
71 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
72 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
b7953e26 73\r
164d5964
LG
74[LibraryClasses.common.PEIM]\r
75 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
1f569620 76 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
77 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
a1a4c7a4 78 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
3ea1d3e6 79\r
164d5964 80[LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]\r
3ea1d3e6 81 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
a81abf16 82 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
3ea1d3e6 83\r
84[LibraryClasses.IPF.PEIM]\r
85 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointerLibKr7.inf\r
db61e163 86\r
9e7864e2 87[LibraryClasses.common.DXE_DRIVER]\r
9e7864e2 88 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
db61e163 89 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
406c7200 90 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
7fadaacd 91 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
9e7864e2 92\r
173eeac9 93[LibraryClasses.common.DXE_SMM_DRIVER]\r
173eeac9 94 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
8d96b976 95 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
b3dc26ed 96 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
406c7200 97 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
db61e163 98\r
25705752
MK
99[LibraryClasses.common.UEFI_APPLICATION]\r
100 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
101 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
102\r
9e7864e2 103#\r
104# Drivers/Libraries within this package\r
105#\r
106\r
7b202cb0 107[Components]\r
3ca55ed4 108 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
e643315b 109 UefiCpuPkg/CpuIoPei/CpuIoPei.inf\r
2057d8c8 110 UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf\r
25705752 111 UefiCpuPkg/Application/Cpuid/Cpuid.inf\r
173eeac9 112\r
113[Components.IA32, Components.X64]\r
e518b40c 114 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
173eeac9 115 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
b7953e26 116 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
bfec5efa 117 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
989322c3 118 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
bf73cc4b 119 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
b7953e26 120 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
e41aad15 121 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
b7953e26 122 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
db61e163 123 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
a81abf16 124 UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
3e8ad6bd
JF
125 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
126 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
b7953e26 127 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
d947a4cc 128 UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf\r
406c7200
MK
129 UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
130 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
09119a00 131 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf\r
b3dc26ed
MK
132 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf\r
133 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf\r
d947a4cc 134 UefiCpuPkg/SecCore/SecCore.inf\r
b7953e26 135 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r
09119a00
MK
136 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
137 <Defines>\r
138 FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94\r
139 <LibraryClasses>\r
140 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf\r
141 }\r
1f569620 142 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
5c7cf1cc 143 UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf\r
72a8abde
HW
144\r
145[BuildOptions]\r
146 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r