summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiBootServicesTableLib
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-03 08:42:16 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-03 08:42:16 +0000
commitbf295af27c0638bb9563436c946954916badbcf9 (patch)
treea1398479cb0dd62157afe10782f7226869c52f12 /MdePkg/Library/UefiBootServicesTableLib
parentce02b0b90121c00ebad67e12fe965e29208ef68f (diff)
downloadedk2-platforms-bf295af27c0638bb9563436c946954916badbcf9.tar.xz
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
Diffstat (limited to 'MdePkg/Library/UefiBootServicesTableLib')
-rw-r--r--MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c4
-rw-r--r--MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf7
-rw-r--r--MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h34
3 files changed, 6 insertions, 39 deletions
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<BR>
All rights reserved. This program and the accompanying materials
@@ -17,7 +18,6 @@
#include <Library/UefiBootServicesTableLib.h>
#include <Library/DebugLib.h>
-#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<BR>
- 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