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