OvmfPkg/QemuFlashFvbServicesRuntimeDxe: list "QemuFlash.h" in INF files
[mirror_edk2.git] / OvmfPkg / QemuFlashFvbServicesRuntimeDxe / FvbServicesSmm.inf
1 ## @file
2 # Component description file for QEMU Flash Fimware Volume Block SMM driver
3 # module.
4 #
5 # This SMM driver implements and produces the SMM Fimware Volue Block Protocol
6 # for a QEMU flash device.
7 #
8 # Copyright (C) 2015, Red Hat, Inc.
9 # Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
10 #
11 # This program and the accompanying materials are licensed and made available
12 # under the terms and conditions of the BSD License which accompanies this
13 # distribution. The full text of the license may be found at
14 # http://opensource.org/licenses/bsd-license.php
15 #
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR
18 # IMPLIED.
19 #
20 ##
21
22 [Defines]
23 INF_VERSION = 0x00010005
24 BASE_NAME = FvbServicesSmm
25 FILE_GUID = 2E7DB7A7-608E-4041-B45F-00359E0766C6
26 MODULE_TYPE = DXE_SMM_DRIVER
27 VERSION_STRING = 1.0
28 PI_SPECIFICATION_VERSION = 0x0001000A
29 ENTRY_POINT = FvbInitialize
30
31 #
32 # The following information is for reference only and not required by the build
33 # tools.
34 #
35 # VALID_ARCHITECTURES = IA32 X64
36 #
37
38 [Sources]
39 FvbInfo.c
40 FwBlockService.c
41 FwBlockService.h
42 FwBlockServiceSmm.c
43 QemuFlash.c
44 QemuFlash.h
45 QemuFlashSmm.c
46
47 [Packages]
48 MdePkg/MdePkg.dec
49 MdeModulePkg/MdeModulePkg.dec
50 OvmfPkg/OvmfPkg.dec
51
52 [LibraryClasses]
53 BaseLib
54 BaseMemoryLib
55 DebugLib
56 DevicePathLib
57 DxeServicesTableLib
58 MemoryAllocationLib
59 MemEncryptSevLib
60 PcdLib
61 SmmServicesTableLib
62 UefiBootServicesTableLib
63 UefiDriverEntryPoint
64
65 [Guids]
66
67 [Protocols]
68 gEfiSmmFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_PRODUCED
69 gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_PRODUCED
70
71 [FixedPcd]
72 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
73 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
74 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
75 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase
76 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwWorkingBase
77 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwSpareBase
78 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize
79 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress
80 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize
81 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize
82
83 [Pcd]
84 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
85 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
86 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
87 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogBase
88 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
89 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable
90
91 [FeaturePcd]
92 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
93
94 [Depex]
95 TRUE