blob: 4d4827decb527ec6fb493eb305e77c5624143312 [file] [log] [blame]
Vishal Bhoj82c80712015-12-15 21:13:33 +05301## @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
33[Packages]
34 MdePkg/MdePkg.dec
35 MdeModulePkg/MdeModulePkg.dec
36 OvmfPkg/OvmfPkg.dec
37
38[LibraryClasses]
39 BaseLib
40 BaseMemoryLib
41 DebugLib
42 DxeServicesTableLib
43 HobLib
44 MemoryAllocationLib
45 PcdLib
46 PlatformFvbLib
47 UefiBootServicesTableLib
48 UefiDriverEntryPoint
49 UefiLib
50 UefiRuntimeLib
51
52[Guids]
53 gEfiEventVirtualAddressChangeGuid # ALWAYS_CONSUMED Create Event: EVENT_GROUP_GUID
54
55[Protocols]
56 gEfiFirmwareVolumeBlock2ProtocolGuid # PROTOCOL ALWAYS_PRODUCED
57 gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_PRODUCED
58
59[FixedPcd]
60 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
61 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
62 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
63
64[Pcd]
65 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
66 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
67 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
68 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
69 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
70
71[FeaturePcd]
72 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable
73
74[Depex]
75 TRUE
76