]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - UefiCpuPkg/UefiCpuPkg.dsc
UefiCpuPkg/UefiCpuPkg.dsc: Add MicrocodeCapsule related component.
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.dsc
... / ...
CommitLineData
1## @file\r
2# UefiCpuPkg Package\r
3#\r
4# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
5#\r
6# This program and the accompanying materials\r
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
10#\r
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
14##\r
15\r
16[Defines]\r
17 PLATFORM_NAME = UefiCpu\r
18 PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49\r
19 PLATFORM_VERSION = 0.3\r
20 DSC_SPECIFICATION = 0x00010005\r
21 OUTPUT_DIRECTORY = Build/UefiCpu\r
22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64\r
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
24 SKUID_IDENTIFIER = DEFAULT\r
25\r
26#\r
27# External libraries to build package\r
28#\r
29\r
30[LibraryClasses]\r
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
35 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
36 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
37 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
38 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
39 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
40 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
41 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
42 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
43 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
44 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
45 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
46 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
47 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
48 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
49 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
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
54 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
55 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
56 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
57 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
58 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
59 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
60 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
61 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
62 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
63 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
64 MicrocodeFlashAccessLib|UefiCpuPkg/Feature/Capsule/Library/MicrocodeFlashAccessLibNull/MicrocodeFlashAccessLibNull.inf\r
65\r
66[LibraryClasses.common.SEC]\r
67 PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf\r
68 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
69 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
70 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
71 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
72\r
73[LibraryClasses.common.PEIM]\r
74 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
75 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
76 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
77 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.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.IPF.PEIM]\r
84 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointerLibKr7.inf\r
85\r
86[LibraryClasses.common.DXE_DRIVER]\r
87 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
88 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
89 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
90 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
91\r
92[LibraryClasses.common.DXE_SMM_DRIVER]\r
93 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
94 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
95 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
96 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
97\r
98[LibraryClasses.common.UEFI_APPLICATION]\r
99 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
100 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
101\r
102#\r
103# Drivers/Libraries within this package\r
104#\r
105\r
106[Components]\r
107 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
108 UefiCpuPkg/CpuIoPei/CpuIoPei.inf\r
109 UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf\r
110 UefiCpuPkg/Application/Cpuid/Cpuid.inf\r
111\r
112[Components.IA32, Components.X64]\r
113 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
114 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
115 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
116 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
117 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
118 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
119 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
120 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
121 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
122 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
123 UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
124 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
125 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
126 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
127 UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf\r
128 UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
129 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
130 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf\r
131 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf\r
132 UefiCpuPkg/SecCore/SecCore.inf\r
133 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r
134 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
135 UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf\r
136\r
137[BuildOptions]\r
138 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r