]> git.proxmox.com Git - mirror_edk2.git/blob - PerformancePkg/PerformancePkg.dsc
TscTimerLib in PerformancePkg is a BASE type library, which should be used by any...
[mirror_edk2.git] / PerformancePkg / PerformancePkg.dsc
1 #/** @file
2 # Build description file to generate Shell DP application.
3 #
4 # Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
9 #
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 #
13 # **/
14
15 [Defines]
16 DSC_SPECIFICATION = 0x00010005
17 PLATFORM_NAME = PerformancePkg
18 PLATFORM_GUID = 9ffd7bf2-231e-4525-9a42-480545dafd17
19 PLATFORM_VERSION = 0.1
20 OUTPUT_DIRECTORY = Build/PerformancePkg
21 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC
22 BUILD_TARGETS = DEBUG|RELEASE
23 SKUID_IDENTIFIER = DEFAULT
24
25 [LibraryClasses]
26 #
27 # Entry Point Libraries
28 #
29 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
30 #
31 # Common Libraries
32 #
33 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
34 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
35 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
36 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
37 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
38 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
39 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
40 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
41 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
42 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
43 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
44 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
45 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
46 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
47 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
48 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
49
50 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
51 FileHandleLib|ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.inf
52
53 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
54 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
55
56 [LibraryClasses.IA32, LibraryClasses.X64]
57 # This library instance mapping needs adjusting based on platform.
58 # The TimerLib instance must match the TimerLib the platform was built with.
59 # If the platform was built with more than one TimerLib type, then this utility
60 # will produce invalid results for any measurements done with a TimerLib instance
61 # that is different than the one below.
62 #
63 # TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
64 TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
65
66 [LibraryClasses.IPF]
67 PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf
68 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
69
70 [Components.IA32, Components.X64]
71 PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
72 PerformancePkg/Library/PeiTscTimerLib/PeiTscTimerLib.inf
73
74 [Components]
75 PerformancePkg/Dp_App/Dp.inf