X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FUniversal%2FVariable%2FRuntimeDxe%2FInitVariable.c;h=efff41c25345c686101180e81e4451d0b532bb91;hp=570ba7257ef46e9bc85cf58585a6180a0a41c91b;hb=ce8bd86e8f49f17fd2b11e14bbc3b3e816d82c1b;hpb=6dcb94c713b1373cc78117b7713e654889802114 diff --git a/EdkModulePkg/Universal/Variable/RuntimeDxe/InitVariable.c b/EdkModulePkg/Universal/Variable/RuntimeDxe/InitVariable.c index 570ba7257e..efff41c253 100644 --- a/EdkModulePkg/Universal/Variable/RuntimeDxe/InitVariable.c +++ b/EdkModulePkg/Universal/Variable/RuntimeDxe/InitVariable.c @@ -1,13 +1,13 @@ /*++ -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. +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. Module Name: @@ -114,7 +114,6 @@ Returns: ); } -#if (EFI_SPECIFICATION_VERSION >= 0x00020000) EFI_STATUS EFIAPI RuntimeServiceQueryVariableInfo ( @@ -142,7 +141,6 @@ Returns: mVariableModuleGlobal->FvbInstance ); } -#endif VOID EFIAPI @@ -196,9 +194,7 @@ Returns: SystemTable->RuntimeServices->GetVariable = RuntimeServiceGetVariable; SystemTable->RuntimeServices->GetNextVariableName = RuntimeServiceGetNextVariableName; SystemTable->RuntimeServices->SetVariable = RuntimeServiceSetVariable; -#if (EFI_SPECIFICATION_VERSION >= 0x00020000) SystemTable->RuntimeServices->QueryVariableInfo = RuntimeServiceQueryVariableInfo; -#endif // // Now install the Variable Runtime Architectural Protocol on a new handle