UefiCpuPkg/CpuDxe: Add support for PCD PcdPteMemoryEncryptionAddressOrMask
[mirror_edk2.git] / UefiCpuPkg / CpuDxe / CpuDxe.inf
1 ## @file
2 # CPU driver installs CPU Architecture Protocol and CPU MP protocol.
3 #
4 # Copyright (c) 2008 - 2017, Intel Corporation. All rights reserved.<BR>
5 # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
6 #
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 ##
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = CpuDxe
20 MODULE_UNI_FILE = CpuDxe.uni
21 FILE_GUID = 1A1E4886-9517-440e-9FDE-3BE44CEE2136
22 MODULE_TYPE = DXE_DRIVER
23 VERSION_STRING = 1.0
24 ENTRY_POINT = InitializeCpu
25
26 [Packages]
27 MdePkg/MdePkg.dec
28 MdeModulePkg/MdeModulePkg.dec
29 UefiCpuPkg/UefiCpuPkg.dec
30
31 [LibraryClasses]
32 BaseLib
33 BaseMemoryLib
34 CpuLib
35 DebugLib
36 DxeServicesTableLib
37 MemoryAllocationLib
38 MtrrLib
39 UefiBootServicesTableLib
40 UefiDriverEntryPoint
41 LocalApicLib
42 UefiCpuLib
43 UefiLib
44 CpuExceptionHandlerLib
45 HobLib
46 ReportStatusCodeLib
47 MpInitLib
48 TimerLib
49
50 [Sources]
51 CpuDxe.c
52 CpuDxe.h
53 CpuGdt.c
54 CpuGdt.h
55 CpuMp.c
56 CpuMp.h
57 CpuPageTable.h
58 CpuPageTable.c
59
60 [Sources.IA32]
61 Ia32/CpuAsm.asm
62 Ia32/CpuAsm.nasm
63 Ia32/CpuAsm.S
64
65 [Sources.X64]
66 X64/CpuAsm.asm
67 X64/CpuAsm.nasm
68 X64/CpuAsm.S
69
70 [Protocols]
71 gEfiCpuArchProtocolGuid ## PRODUCES
72 gEfiMpServiceProtocolGuid ## PRODUCES
73
74 [Guids]
75 gIdleLoopEventGuid ## CONSUMES ## Event
76 gEfiVectorHandoffTableGuid ## SOMETIMES_CONSUMES ## SystemTable
77
78 [Ppis]
79 gEfiSecPlatformInformation2PpiGuid ## UNDEFINED # HOB
80 gEfiSecPlatformInformationPpiGuid ## UNDEFINED # HOB
81
82 [Pcd]
83 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES
84
85 [Depex]
86 TRUE
87
88 [UserExtensions.TianoCore."ExtraFiles"]
89 CpuDxeExtra.uni