]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
b5c79762c23f04b986517e1a6eff90f202b767b6
[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 FwBlockServiceSmm.c
42 QemuFlash.c
43 QemuFlashSmm.c
44
45 [Packages]
46 MdePkg/MdePkg.dec
47 MdeModulePkg/MdeModulePkg.dec
48 OvmfPkg/OvmfPkg.dec
49
50 [LibraryClasses]
51 BaseLib
52 BaseMemoryLib
53 DebugLib
54 DevicePathLib
55 DxeServicesTableLib
56 MemoryAllocationLib
57 MemEncryptSevLib
58 PcdLib
59 SmmServicesTableLib
60 UefiBootServicesTableLib
61 UefiDriverEntryPoint
62
63 [Guids]
64
65 [Protocols]
66 gEfiSmmFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_PRODUCED
67 gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_PRODUCED
68
69 [FixedPcd]
70 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
71 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
72 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
73 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase
74 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwWorkingBase
75 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwSpareBase
76 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize
77 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress
78 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize
79 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize
80
81 [Pcd]
82 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
83 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
84 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
85 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogBase
86 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
87 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable
88
89 [FeaturePcd]
90 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
91
92 [Depex]
93 TRUE