summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library')
-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