]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
OvmfPkg/SmmControl2Dxe: negotiate ICH9_LPC_SMI_F_CPU_HOTPLUG
[mirror_edk2.git] / OvmfPkg / SmmControl2Dxe / SmmControl2Dxe.inf
1 ## @file
2 # A DXE_RUNTIME_DRIVER providing synchronous SMI activations via the
3 # EFI_SMM_CONTROL2_PROTOCOL.
4 #
5 # We expect the PEI phase to have covered the following:
6 # - ensure that the underlying QEMU machine type be Q35
7 # (responsible: OvmfPkg/SmmAccess/SmmAccessPei.inf)
8 # - ensure that the ACPI PM IO space be configured
9 # (responsible: OvmfPkg/PlatformPei/PlatformPei.inf)
10 #
11 # Our own entry point is responsible for confirming the SMI feature and for
12 # configuring it.
13 #
14 # Copyright (C) 2013, 2015, Red Hat, Inc.
15 #
16 # SPDX-License-Identifier: BSD-2-Clause-Patent
17 #
18 ##
19
20 [Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = SmmControl2Dxe
23 FILE_GUID = 1206F7CA-A475-4624-A83E-E6FC9BB38E49
24 MODULE_TYPE = DXE_RUNTIME_DRIVER
25 VERSION_STRING = 1.0
26 PI_SPECIFICATION_VERSION = 0x00010400
27 ENTRY_POINT = SmmControl2DxeEntryPoint
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 SmiFeatures.h
37 SmiFeatures.c
38 SmmControl2Dxe.c
39
40 [Packages]
41 MdePkg/MdePkg.dec
42 OvmfPkg/OvmfPkg.dec
43 UefiCpuPkg/UefiCpuPkg.dec
44
45 [LibraryClasses]
46 BaseLib
47 DebugLib
48 IoLib
49 MemEncryptSevLib
50 MemoryAllocationLib
51 PcdLib
52 PciLib
53 QemuFwCfgLib
54 QemuFwCfgS3Lib
55 UefiBootServicesTableLib
56 UefiDriverEntryPoint
57
58 [Protocols]
59 gEfiS3SaveStateProtocolGuid ## SOMETIMES_CONSUMES
60 gEfiSmmControl2ProtocolGuid ## PRODUCES
61
62 [Pcd]
63 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout ## SOMETIMES_PRODUCES
64 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode ## SOMETIMES_PRODUCES
65
66 [FeaturePcd]
67 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
68
69 [Depex]
70 TRUE