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