MdeModulePkg/Variable/RuntimeDxe: introduce PcdMaxVolatileVariableSize
[mirror_edk2.git] / OvmfPkg / EmuVariableFvbRuntimeDxe / Fvb.inf
1 ## @file
2 # Firmware Block Services to support emulating non-volatile variables
3 # by pretending that a memory buffer is storage for the NV variables.
4 #
5 # Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>
6 #
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 [Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = EmuVariableFvbRuntimeDxe
19 FILE_GUID = 22dc2b60-fe40-42ac-b01f-3ab1fad9aad8
20 MODULE_TYPE = DXE_RUNTIME_DRIVER
21 VERSION_STRING = 1.0
22 ENTRY_POINT = FvbInitialize
23
24 #
25 # The following information is for reference only and not required by the build tools.
26 #
27 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
28 #
29
30 [Sources]
31 Fvb.c
32 Fvb.h
33
34 [Packages]
35 MdePkg/MdePkg.dec
36 MdeModulePkg/MdeModulePkg.dec
37 OvmfPkg/OvmfPkg.dec
38
39 [LibraryClasses]
40 BaseLib
41 BaseMemoryLib
42 DebugLib
43 DxeServicesTableLib
44 HobLib
45 MemoryAllocationLib
46 PcdLib
47 PlatformFvbLib
48 UefiBootServicesTableLib
49 UefiDriverEntryPoint
50 UefiLib
51 UefiRuntimeLib
52
53 [Guids]
54 gEfiEventVirtualAddressChangeGuid # ALWAYS_CONSUMED Create Event: EVENT_GROUP_GUID
55
56 [Protocols]
57 gEfiFirmwareVolumeBlock2ProtocolGuid # PROTOCOL ALWAYS_PRODUCED
58 gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_PRODUCED
59
60 [FixedPcd]
61 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
62 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
63 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
64
65 [Pcd]
66 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
67 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
68 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
69 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
70 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
71
72 [Depex]
73 TRUE
74