From: qwang12 Date: Fri, 6 Jul 2007 13:47:15 +0000 (+0000) Subject: git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3127 6f19259b... X-Git-Tag: edk2-stable201903~22828 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=e084f202216eab1ae5cf9fe9f3bcdcf04770f98e;ds=sidebyside git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3127 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Universal/EmuVariableRuntimeDxe/EmuVariable.inf b/MdeModulePkg/Universal/EmuVariableRuntimeDxe/EmuVariable.inf new file mode 100644 index 0000000000..a22d48b23d --- /dev/null +++ b/MdeModulePkg/Universal/EmuVariableRuntimeDxe/EmuVariable.inf @@ -0,0 +1,106 @@ +#/** @file +# Emulation Variable for EFI_RUNTIME_SERVICES. +# +# This module provides three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName +# Copyright (c) 2006 - 2007, 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. +# +# +#**/ + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = EmuVariable + FILE_GUID = CBD2E4D5-7068-4FF5-B866-9822B4AD8D61 + MODULE_TYPE = DXE_RUNTIME_DRIVER + VERSION_STRING = 1.0 + EDK_RELEASE_VERSION = 0x00020000 + EFI_SPECIFICATION_VERSION = 0x00020000 + + ENTRY_POINT = VariableServiceInitialize + +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 X64 EBC +# + +################################################################################ +# +# Sources Section - list of files that are required for the build to succeed. +# +################################################################################ + +[Sources.common] + InitVariable.c + EmuVariable.c + Variable.h + + +################################################################################ +# +# Package Dependency Section - list of Package files that are required for +# this module. +# +################################################################################ + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + + +################################################################################ +# +# Library Class Section - list of Library Classes that are required for +# this module. +# +################################################################################ + +[LibraryClasses] + BaseLib + UefiLib + UefiBootServicesTableLib + UefiDriverEntryPoint + UefiRuntimeLib + DebugLib + MemoryAllocationLib + BaseMemoryLib + + +################################################################################ +# +# Protocol C Name Section - list of Protocol and Protocol Notify C Names +# that this module uses or produces. +# +################################################################################ + +[Protocols.IA32] + gEfiVariableArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED + gEfiVariableWriteArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED + +[Protocols.X64] + gEfiVariableArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED + gEfiVariableWriteArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED + + +################################################################################ +# +# Dependency Expression Section - list of Dependency expressions that are required for +# this module. +# +################################################################################ + +[Depex] + TRUE + diff --git a/MdeModulePkg/Universal/EmuVariableRuntimeDxe/EmuVariable.infa b/MdeModulePkg/Universal/EmuVariableRuntimeDxe/EmuVariable.infa deleted file mode 100644 index a22d48b23d..0000000000 --- a/MdeModulePkg/Universal/EmuVariableRuntimeDxe/EmuVariable.infa +++ /dev/null @@ -1,106 +0,0 @@ -#/** @file -# Emulation Variable for EFI_RUNTIME_SERVICES. -# -# This module provides three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName -# Copyright (c) 2006 - 2007, 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. -# -# -#**/ - -################################################################################ -# -# Defines Section - statements that will be processed to create a Makefile. -# -################################################################################ -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = EmuVariable - FILE_GUID = CBD2E4D5-7068-4FF5-B866-9822B4AD8D61 - MODULE_TYPE = DXE_RUNTIME_DRIVER - VERSION_STRING = 1.0 - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - - ENTRY_POINT = VariableServiceInitialize - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 X64 EBC -# - -################################################################################ -# -# Sources Section - list of files that are required for the build to succeed. -# -################################################################################ - -[Sources.common] - InitVariable.c - EmuVariable.c - Variable.h - - -################################################################################ -# -# Package Dependency Section - list of Package files that are required for -# this module. -# -################################################################################ - -[Packages] - MdePkg/MdePkg.dec - MdeModulePkg/MdeModulePkg.dec - - -################################################################################ -# -# Library Class Section - list of Library Classes that are required for -# this module. -# -################################################################################ - -[LibraryClasses] - BaseLib - UefiLib - UefiBootServicesTableLib - UefiDriverEntryPoint - UefiRuntimeLib - DebugLib - MemoryAllocationLib - BaseMemoryLib - - -################################################################################ -# -# Protocol C Name Section - list of Protocol and Protocol Notify C Names -# that this module uses or produces. -# -################################################################################ - -[Protocols.IA32] - gEfiVariableArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiVariableWriteArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED - -[Protocols.X64] - gEfiVariableArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiVariableWriteArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED - - -################################################################################ -# -# Dependency Expression Section - list of Dependency expressions that are required for -# this module. -# -################################################################################ - -[Depex] - TRUE -