## @file # Emulation Variable for EFI_RUNTIME_SERVICES. # # This module provides three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName # Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
# # This program and the accompanying materials # 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. # # # dmazar: modified to be able to run on certain UEFI platforms (mainly laptops with # Phoenix UEFI) to replace original RT var services which do not work when booting OSX. # ## [Defines] INF_VERSION = 0x00010005 BASE_NAME = EmuVariableUefi FILE_GUID = d2499119-2844-4595-a59f-37f7e11f1ba5 MODULE_TYPE = DXE_RUNTIME_DRIVER VERSION_STRING = 1.0 ENTRY_POINT = VariableServiceInitialize # # The following information is for reference only and not required by the build tools. # # VALID_ARCHITECTURES = IA32 X64 EBC # [Sources] InitVariable.c EmuVariable.c Variable.h [Packages] MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec CloverPkg.dec [LibraryClasses] BaseLib UefiLib UefiBootServicesTableLib UefiDriverEntryPoint # UefiRuntimeLib DebugLib MemoryAllocationLib BaseMemoryLib HobLib PcdLib MemLogLib [Protocols] # gEfiVariableArchProtocolGuid ## PRODUCES # gEfiVariableWriteArchProtocolGuid ## PRODUCES gEmuVariableControlProtocolGuid ## PRODUCES [Guids] gEfiEventVirtualAddressChangeGuid ## PRODUCES ## Event gEfiEventExitBootServicesGuid ## PRODUCES ## Event gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid gEfiVariableGuid gEfiAppleBootGuid [Pcd] gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize [Depex] TRUE # [Event] # ## # # Event will be signaled for VIRTUAL_ADDRESS_CHANGE event. # # # EVENT_TYPE_NOTIFY_SIGNAL ## PRODUCES # #