]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
OvmfPkg/Csm/LegacyBiosDxe: Fix Legacy16GetTableAddress call for E820 data
[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 MemoryAllocationLib
50 PcdLib
51 PciLib
52 QemuFwCfgLib
53 QemuFwCfgS3Lib
54 UefiBootServicesTableLib
55 UefiDriverEntryPoint
56
57 [Protocols]
58 gEfiS3SaveStateProtocolGuid ## SOMETIMES_CONSUMES
59 gEfiSmmControl2ProtocolGuid ## PRODUCES
60
61 [Pcd]
62 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout ## SOMETIMES_PRODUCES
63 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode ## SOMETIMES_PRODUCES
64
65 [FeaturePcd]
66 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
67
68 [Depex]
69 TRUE