X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FUefiRuntimeServicesTableLib%2FUefiRuntimeServicesTableLib.c;h=bf15467bbec028914088d9975e30cee829bd7bc2;hp=bd996ba8b565e5a7fbb76afbd521633dd4573ed8;hb=9f73d38da4a01da1c5ff6679565d426f1c4bbe98;hpb=bda7fbcc2f7e14aedfbfa7c776ad5fe3058ab00d diff --git a/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.c b/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.c index bd996ba8b5..bf15467bbe 100644 --- a/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.c +++ b/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.c @@ -2,33 +2,30 @@ UEFI Runtime Services Table Library. Copyright (c) 2006, 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 + 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. + 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: UefiRuntimeServicesTableLib.c **/ -// -// Cached copy of the EFI Runtime Services Table -// EFI_RUNTIME_SERVICES *gRT = NULL; /** The constructor function caches the pointer of Runtime Services Table. - - The constructor function caches the pointer of Runtime Services Table. + + The constructor function caches the pointer of Runtime Services Table. It will ASSERT() if the pointer of Runtime Services Table is NULL. It will always return EFI_SUCCESS. @param ImageHandle The firmware allocated handle for the EFI image. @param SystemTable A pointer to the EFI System Table. - + @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. **/