1## @file
2# A DXE_DRIVER providing SMRAM access by producing EFI_SMM_ACCESS2_PROTOCOL.
3#
4# Q35 TSEG is expected to have been verified and set up by the SmmAccessPei
5# driver.
6#
7# Copyright (C) 2013, 2015, Red Hat, Inc.
8#
9# This program and the accompanying materials are licensed and made available
10# under the terms and conditions of the BSD License which accompanies this
11# distribution. The full text of the license may be found at
12# http://opensource.org/licenses/bsd-license.php
13#
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
15# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16#
17##
18
19[Defines]
20  INF_VERSION                    = 0x00010005
21  BASE_NAME                      = SmmAccess2Dxe
22  FILE_GUID                      = AC95AD3D-4366-44BF-9A62-E4B29D7A2206
23  MODULE_TYPE                    = DXE_DRIVER
24  VERSION_STRING                 = 1.0
25  PI_SPECIFICATION_VERSION       = 0x00010400
26  ENTRY_POINT                    = SmmAccess2DxeEntryPoint
27
28#
29# The following information is for reference only and not required by the build tools.
30#
31#  VALID_ARCHITECTURES           = IA32 X64
32#
33
34[Sources]
35  SmmAccess2Dxe.c
36  SmramInternal.c
37  SmramInternal.h
38
39[Packages]
40  MdeModulePkg/MdeModulePkg.dec
41  MdePkg/MdePkg.dec
42  OvmfPkg/OvmfPkg.dec
43
44[LibraryClasses]
45  DebugLib
46  PcdLib
47  PciLib
48  UefiBootServicesTableLib
49  UefiDriverEntryPoint
50
51[Protocols]
52  gEfiSmmAccess2ProtocolGuid   ## PRODUCES
53
54[FeaturePcd]
55  gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
56
57[Depex]
58  TRUE
59