98e0f766856bb0777a92388387c47aaefe31e6f6
[mirror_edk2.git] / OvmfPkg / QemuFlashFvbServicesRuntimeDxe / FvbServicesRuntimeDxe.inf
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 FwBlockService.h
40 FwBlockServiceDxe.c
41 QemuFlash.c
42 QemuFlashDxe.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 UefiBootServicesTableLib
58 UefiDriverEntryPoint
59 UefiRuntimeLib
60
61 [Guids]
62 gEfiEventVirtualAddressChangeGuid # ALWAYS_CONSUMED
63 # gEfiEventVirtualAddressChangeGuid # Create Event: EVENT_GROUP_GUID
64
65 [Protocols]
66 gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL SOMETIMES_PRODUCED
67 gEfiDevicePathProtocolGuid # PROTOCOL SOMETIMES_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