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 | MdeModulePkg/MdeModulePkg.dec
|
---|
43 | OvmfPkg/OvmfPkg.dec
|
---|
44 | UefiCpuPkg/UefiCpuPkg.dec
|
---|
45 |
|
---|
46 | [LibraryClasses]
|
---|
47 | BaseLib
|
---|
48 | DebugLib
|
---|
49 | IoLib
|
---|
50 | MemEncryptSevLib
|
---|
51 | MemoryAllocationLib
|
---|
52 | PcdLib
|
---|
53 | PciLib
|
---|
54 | QemuFwCfgLib
|
---|
55 | QemuFwCfgS3Lib
|
---|
56 | UefiBootServicesTableLib
|
---|
57 | UefiDriverEntryPoint
|
---|
58 |
|
---|
59 | [Protocols]
|
---|
60 | gEfiS3SaveStateProtocolGuid ## SOMETIMES_CONSUMES
|
---|
61 | gEfiSmmControl2ProtocolGuid ## PRODUCES
|
---|
62 |
|
---|
63 | [Pcd]
|
---|
64 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout ## SOMETIMES_PRODUCES
|
---|
65 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode ## SOMETIMES_PRODUCES
|
---|
66 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable
|
---|
67 |
|
---|
68 | [FeaturePcd]
|
---|
69 | gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
|
---|
70 |
|
---|
71 | [Depex]
|
---|
72 | TRUE
|
---|