2010-02-24 00:58:38 +01:00
|
|
|
## @file
|
2009-09-26 09:15:45 +02:00
|
|
|
# Firmware Block Services to support emulating non-volatile variables
|
|
|
|
# by pretending that a memory buffer is storage for the NV variables.
|
|
|
|
#
|
2011-01-09 04:50:58 +01:00
|
|
|
# Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>
|
2009-09-26 09:15:45 +02:00
|
|
|
#
|
2010-04-28 14:43:04 +02:00
|
|
|
# This program and the accompanying materials
|
2009-09-26 09:15:45 +02:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
2010-02-24 00:58:38 +01:00
|
|
|
##
|
2009-09-26 09:15:45 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = EmuVariableFvbRuntimeDxe
|
|
|
|
FILE_GUID = 22dc2b60-fe40-42ac-b01f-3ab1fad9aad8
|
|
|
|
MODULE_TYPE = DXE_RUNTIME_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = FvbInitialize
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
2010-01-30 01:10:44 +01:00
|
|
|
[Sources]
|
2009-09-26 09:15:45 +02:00
|
|
|
Fvb.c
|
2018-03-10 19:49:52 +01:00
|
|
|
Fvb.h
|
2009-09-26 09:15:45 +02:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
OvmfPkg/OvmfPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
BaseMemoryLib
|
|
|
|
DebugLib
|
|
|
|
DxeServicesTableLib
|
|
|
|
HobLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
PcdLib
|
|
|
|
PlatformFvbLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
UefiLib
|
|
|
|
UefiRuntimeLib
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiEventVirtualAddressChangeGuid # ALWAYS_CONSUMED Create Event: EVENT_GROUP_GUID
|
|
|
|
|
|
|
|
[Protocols]
|
2011-01-09 04:50:58 +01:00
|
|
|
gEfiFirmwareVolumeBlock2ProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
2009-09-26 09:15:45 +02:00
|
|
|
gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
|
|
|
|
|
|
|
[FixedPcd]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
|
|
|
|
|
|
|
|
[Pcd]
|
2010-01-30 01:10:44 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
2011-01-16 04:32:47 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
|
2009-09-26 09:15:45 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
|
|
|
|
|
|
|
|
[Depex]
|
|
|
|
TRUE
|
|
|
|
|