UefiCpuPkg: Add NULL CPU Common Features Library instance
[mirror_edk2.git] / UefiCpuPkg / Library / CpuCommonFeaturesLib / CpuCommonFeaturesLib.inf
1 ## @file
2 # NULL instance to register CPU features.
3 #
4 # This library registers CPU features defined in Intel(R) 64 and IA-32
5 # Architectures Software Developer's Manual.
6 #
7 # Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
8 #
9 # This program and the accompanying materials
10 # are licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #
16 ##
17
18 [Defines]
19 INF_VERSION = 0x00010005
20 BASE_NAME = CpuCommonFeaturesLib
21 MODULE_UNI_FILE = CpuCommonFeaturesLib.uni
22 FILE_GUID = 387A2490-81FC-4E7C-8E0A-3E58C30FCD0B
23 MODULE_TYPE = BASE
24 VERSION_STRING = 1.0
25 LIBRARY_CLASS = NULL
26
27 CONSTRUCTOR = CpuCommonFeaturesLibConstructor
28
29 #
30 # The following information is for reference only and not required by the build tools.
31 #
32 # VALID_ARCHITECTURES = IA32 X64
33 #
34
35 [Sources]
36 CpuCommonFeaturesLib.c
37 CpuCommonFeatures.h
38 Aesni.c
39 C1e.c
40 ClockModulation.c
41 Eist.c
42 ExecuteDisable.c
43 FastStrings.c
44 FeatureControl.c
45 LimitCpuIdMaxval.c
46 MachineCheck.c
47 MonitorMwait.c
48 PendingBreak.c
49 X2Apic.c
50
51 [Packages]
52 MdePkg/MdePkg.dec
53 UefiCpuPkg/UefiCpuPkg.dec
54
55 [LibraryClasses]
56 BaseLib
57 PcdLib
58 DebugLib
59 RegisterCpuFeaturesLib
60 BaseMemoryLib
61 MemoryAllocationLib
62 LocalApicLib
63
64 [Pcd]
65 gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSupport # CONSUMES
66 gUefiCpuPkgTokenSpaceGuid.PcdCpuClockModulationDutyCycle # SOMETIME_CONSUMES
67 gUefiCpuPkgTokenSpaceGuid.PcdIsPowerOnReset # SOMETIME_CONSUMES
68