1 | ## @file
|
---|
2 | # Component description file for QEMU Flash Firmware Volume Block SMM driver
|
---|
3 | # module.
|
---|
4 | #
|
---|
5 | # This SMM driver implements and produces the SMM Firmware 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 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
12 | #
|
---|
13 | ##
|
---|
14 |
|
---|
15 | [Defines]
|
---|
16 | INF_VERSION = 0x00010005
|
---|
17 | BASE_NAME = FvbServicesSmm
|
---|
18 | FILE_GUID = 2E7DB7A7-608E-4041-B45F-00359E0766C6
|
---|
19 | MODULE_TYPE = DXE_SMM_DRIVER
|
---|
20 | VERSION_STRING = 1.0
|
---|
21 | PI_SPECIFICATION_VERSION = 0x0001000A
|
---|
22 | ENTRY_POINT = FvbInitialize
|
---|
23 |
|
---|
24 | #
|
---|
25 | # The following information is for reference only and not required by the build
|
---|
26 | # tools.
|
---|
27 | #
|
---|
28 | # VALID_ARCHITECTURES = IA32 X64
|
---|
29 | #
|
---|
30 |
|
---|
31 | [Sources]
|
---|
32 | FvbInfo.c
|
---|
33 | FwBlockService.c
|
---|
34 | FwBlockService.h
|
---|
35 | FwBlockServiceSmm.c
|
---|
36 | QemuFlash.c
|
---|
37 | QemuFlash.h
|
---|
38 | QemuFlashSmm.c
|
---|
39 |
|
---|
40 | [Packages]
|
---|
41 | MdePkg/MdePkg.dec
|
---|
42 | MdeModulePkg/MdeModulePkg.dec
|
---|
43 | OvmfPkg/OvmfPkg.dec
|
---|
44 |
|
---|
45 | [LibraryClasses]
|
---|
46 | BaseLib
|
---|
47 | BaseMemoryLib
|
---|
48 | DebugLib
|
---|
49 | DevicePathLib
|
---|
50 | DxeServicesTableLib
|
---|
51 | MemoryAllocationLib
|
---|
52 | MemEncryptSevLib
|
---|
53 | PcdLib
|
---|
54 | SmmServicesTableLib
|
---|
55 | UefiBootServicesTableLib
|
---|
56 | UefiDriverEntryPoint
|
---|
57 |
|
---|
58 | [Guids]
|
---|
59 |
|
---|
60 | [Protocols]
|
---|
61 | gEfiSmmFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
---|
62 | gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
---|
63 |
|
---|
64 | [FixedPcd]
|
---|
65 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
---|
66 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
|
---|
67 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
|
---|
68 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase
|
---|
69 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize
|
---|
70 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress
|
---|
71 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize
|
---|
72 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize
|
---|
73 |
|
---|
74 | [Pcd]
|
---|
75 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable
|
---|
76 |
|
---|
77 | [FeaturePcd]
|
---|
78 | gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
|
---|
79 |
|
---|
80 | [Depex]
|
---|
81 | TRUE
|
---|