]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
OvmfPkg: implement EFI_SMM_CONTROL2_PROTOCOL with a DXE_RUNTIME_DRIVER
[mirror_edk2.git] / OvmfPkg / SmmControl2Dxe / SmmControl2Dxe.inf
CommitLineData
c40e1a0c
LE
1## @file\r
2# A DXE_RUNTIME_DRIVER providing synchronous SMI activations via the\r
3# EFI_SMM_CONTROL2_PROTOCOL.\r
4#\r
5# We expect the PEI phase to have covered the following:\r
6# - ensure that the underlying QEMU machine type be Q35\r
7# (responsible: OvmfPkg/SmmAccess/SmmAccessPei.inf)\r
8# - ensure that the ACPI PM IO space be configured\r
9# (responsible: OvmfPkg/PlatformPei/PlatformPei.inf)\r
10#\r
11# Our own entry point is responsible for confirming the SMI feature and for\r
12# configuring it.\r
13#\r
14# Copyright (C) 2013, 2015, Red Hat, Inc.\r
15#\r
16# This program and the accompanying materials are licensed and made available\r
17# under the terms and conditions of the BSD License which accompanies this\r
18# distribution. The full text of the license may be found at\r
19# http://opensource.org/licenses/bsd-license.php\r
20#\r
21# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
22# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
23#\r
24##\r
25\r
26[Defines]\r
27 INF_VERSION = 0x00010005\r
28 BASE_NAME = SmmControl2Dxe\r
29 FILE_GUID = 1206F7CA-A475-4624-A83E-E6FC9BB38E49\r
30 MODULE_TYPE = DXE_RUNTIME_DRIVER\r
31 VERSION_STRING = 1.0\r
32 PI_SPECIFICATION_VERSION = 0x00010400\r
33 ENTRY_POINT = SmmControl2DxeEntryPoint\r
34\r
35#\r
36# The following information is for reference only and not required by the build tools.\r
37#\r
38# VALID_ARCHITECTURES = IA32 X64\r
39#\r
40\r
41[Sources]\r
42 SmmControl2Dxe.c\r
43\r
44[Packages]\r
45 MdePkg/MdePkg.dec\r
46 OvmfPkg/OvmfPkg.dec\r
47\r
48[LibraryClasses]\r
49 BaseLib\r
50 DebugLib\r
51 IoLib\r
52 PcdLib\r
53 PciLib\r
54 QemuFwCfgLib\r
55 UefiBootServicesTableLib\r
56 UefiDriverEntryPoint\r
57\r
58[Protocols]\r
59 gEfiS3SaveStateProtocolGuid ## SOMETIMES_CONSUMES\r
60 gEfiSmmControl2ProtocolGuid ## PRODUCES\r
61\r
62[FeaturePcd]\r
63 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire\r
64\r
65[Depex]\r
66 TRUE\r