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