From bf295af27c0638bb9563436c946954916badbcf9 Mon Sep 17 00:00:00 2001 From: klu2 Date: Wed, 3 Sep 2008 08:42:16 +0000 Subject: Add more comment for library instance and remove unused internal header file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5798 6f19259b-4bc3-4df7-8a09-765794883524 --- .../UefiBootServicesTableLib.c | 4 +-- .../UefiBootServicesTableLib.inf | 7 +++-- .../UefiBootServicesTableLibInternal.h | 34 ---------------------- 3 files changed, 6 insertions(+), 39 deletions(-) delete mode 100644 MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h (limited to 'MdePkg') diff --git a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c index ee1970199a..372d03b651 100644 --- a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c +++ b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c @@ -1,5 +1,6 @@ /** @file - UEFI Boot Services Table Library. + This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in + library's constructor. Copyright (c) 2006 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials @@ -17,7 +18,6 @@ #include #include -#include "UefiBootServicesTableLibInternal.h" EFI_HANDLE gImageHandle = NULL; EFI_SYSTEM_TABLE *gST = NULL; diff --git a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf index 3a79680eb8..3d575ab812 100644 --- a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf +++ b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf @@ -1,7 +1,9 @@ #/** @file # UEFI Boot Services Table Library -# -# Library to abstract Framework extensions that conflict with UEFI 2.0 Specification +# +# This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in +# library's constructor. +# # Copyright (c) 2007, Intel Corporation. # # All rights reserved. This program and the accompanying materials @@ -32,7 +34,6 @@ [Sources.common] UefiBootServicesTableLib.c - UefiBootServicesTableLibInternal.h [Packages] MdePkg/MdePkg.dec diff --git a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h deleted file mode 100644 index db8468eb83..0000000000 --- a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h +++ /dev/null @@ -1,34 +0,0 @@ -/** @file - UEFI Boot Services Table Library internal header - - 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. - -**/ - -#ifndef _UEFIBOOTSERVICESTABLE_LIB_H_ -#define _UEFIBOOTSERVICESTABLE_LIB_H_ -/** - - Initialize gBS. - - @param ImageHandle ImageHandle of the loaded driver. - @param SystemTable Pointer to the EFI System Table. - - @retval EFI_SUCCESS One or more of the drivers returned a success code. - @retval !EFI_SUCESS The return status from the last driver entry point in the list. -**/ -EFI_STATUS -EFIAPI -UefiBootServicesTableLibConstructor ( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable - ) -; -#endif -- cgit v1.2.3