5fcff1510dae5dac0d30733cde883212fd3da16c
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.dsc
1 ## @file
2 # UefiCpuPkg Package
3 #
4 # Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 [Defines]
17 PLATFORM_NAME = UefiCpu
18 PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49
19 PLATFORM_VERSION = 0.3
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/UefiCpu
22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64
23 BUILD_TARGETS = DEBUG|RELEASE
24 SKUID_IDENTIFIER = DEFAULT
25
26 #
27 # External libraries to build package
28 #
29
30 [LibraryClasses]
31 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
32 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
33 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
34 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
35 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
36 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
37 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
38 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
39 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
40 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
41 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
42 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
43 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
44 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
45 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
46 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
47 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
48 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
49 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
50 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
51 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
52 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
53 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
54 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
55 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
56
57 [LibraryClasses.common.PEIM]
58 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
59 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
60 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
61
62 [LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
63 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
64
65 [LibraryClasses.IPF.PEIM]
66 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointerLibKr7.inf
67
68 [LibraryClasses.common.DXE_DRIVER]
69 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
70 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
71
72 [LibraryClasses.common.DXE_SMM_DRIVER]
73 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
74 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
75
76 #
77 # Drivers/Libraries within this package
78 #
79
80 [Components]
81 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
82 UefiCpuPkg/CpuIoPei/CpuIoPei.inf
83 UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
84
85 [Components.IA32, Components.X64]
86 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
87 UefiCpuPkg/CpuDxe/CpuDxe.inf
88 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
89 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
90 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
91 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
92 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
93 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
94 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
95 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
96 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
97