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 | !if $(TOOL_CHAIN_TAG) == "XCODE5"
|
---|
63 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
|
---|
64 | !else
|
---|
65 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
---|
66 | !endif
|
---|
67 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
68 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
69 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
70 |
|
---|
71 | [LibraryClasses.common.PEIM]
|
---|
72 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
73 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
74 | LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
|
---|
75 | MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
|
---|
76 | RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
|
---|
77 |
|
---|
78 | [LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
|
---|
79 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
80 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
|
---|
81 |
|
---|
82 | [LibraryClasses.common.DXE_DRIVER]
|
---|
83 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
84 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
85 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
|
---|
86 | MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
|
---|
87 | RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
|
---|
88 |
|
---|
89 | [LibraryClasses.common.DXE_SMM_DRIVER]
|
---|
90 | SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
|
---|
91 | MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
|
---|
92 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
93 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
|
---|
94 |
|
---|
95 | [LibraryClasses.common.UEFI_APPLICATION]
|
---|
96 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
---|
97 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
98 |
|
---|
99 | #
|
---|
100 | # Drivers/Libraries within this package
|
---|
101 | #
|
---|
102 |
|
---|
103 | [Components]
|
---|
104 | UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
---|
105 | UefiCpuPkg/CpuIoPei/CpuIoPei.inf
|
---|
106 | UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
|
---|
107 | UefiCpuPkg/Application/Cpuid/Cpuid.inf
|
---|
108 | UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
|
---|
109 | UefiCpuPkg/Library/CpuTimerLib/DxeCpuTimerLib.inf
|
---|
110 | UefiCpuPkg/Library/CpuTimerLib/PeiCpuTimerLib.inf
|
---|
111 |
|
---|
112 | [Components.IA32, Components.X64]
|
---|
113 | UefiCpuPkg/CpuDxe/CpuDxe.inf
|
---|
114 | UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf {
|
---|
115 | <LibraryClasses>
|
---|
116 | NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
|
---|
117 | }
|
---|
118 | UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf {
|
---|
119 | <LibraryClasses>
|
---|
120 | NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
|
---|
121 | }
|
---|
122 | UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
|
---|
123 | UefiCpuPkg/CpuMpPei/CpuMpPei.inf
|
---|
124 | UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
|
---|
125 | UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
|
---|
126 | UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
|
---|
127 | UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
|
---|
128 | UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
|
---|
129 | UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
|
---|
130 | !if $(TOOL_CHAIN_TAG) != "XCODE5"
|
---|
131 | UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
---|
132 | !endif
|
---|
133 | UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
|
---|
134 | UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
|
---|
135 | UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
|
---|
136 | UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
|
---|
137 | UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
|
---|
138 | UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
|
---|
139 | UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
---|
140 | UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
|
---|
141 | UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
|
---|
142 | UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
|
---|
143 | UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
|
---|
144 | UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
|
---|
145 | UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
|
---|
146 | UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
|
---|
147 | UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
|
---|
148 | UefiCpuPkg/SecCore/SecCore.inf
|
---|
149 | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
|
---|
150 | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
|
---|
151 | <Defines>
|
---|
152 | FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
|
---|
153 | <LibraryClasses>
|
---|
154 | SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
|
---|
155 | }
|
---|
156 | UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
|
---|
157 | UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
|
---|
158 |
|
---|
159 | [BuildOptions]
|
---|
160 | *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
---|