]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add more comment for library instance and remove unused internal header file.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Sep 2008 08:42:16 +0000 (08:42 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Sep 2008 08:42:16 +0000 (08:42 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5798 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c
MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h [deleted file]

index ee1970199a40da87f9a0a8cd17a1c6baf2170f7e..372d03b651cd979de9eb431f9453f497c19d5139 100644 (file)
@@ -1,5 +1,6 @@
 /** @file\r
-  UEFI Boot Services Table Library.\r
+  This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in \r
+  library's constructor.\r
 \r
   Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials\r
@@ -17,7 +18,6 @@
 \r
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/DebugLib.h>\r
-#include "UefiBootServicesTableLibInternal.h"\r
 \r
 EFI_HANDLE         gImageHandle = NULL;\r
 EFI_SYSTEM_TABLE   *gST         = NULL;\r
index 3a79680eb8289f133a179b35b1e20b35d9bbcf43..3d575ab8125f3e90a6bb21a9f4ec627c62dfd64e 100644 (file)
@@ -1,7 +1,9 @@
 #/** @file\r
 # UEFI Boot Services Table Library\r
-#\r
-# Library to abstract Framework extensions that conflict with UEFI 2.0 Specification\r
+# \r
+# This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in \r
+# library's constructor.\r
+# \r
 # Copyright (c) 2007, Intel Corporation.\r
 #\r
 #  All rights reserved. This program and the accompanying materials\r
@@ -32,7 +34,6 @@
 \r
 [Sources.common]\r
   UefiBootServicesTableLib.c\r
-  UefiBootServicesTableLibInternal.h\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
diff --git a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h
deleted file mode 100644 (file)
index db8468e..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/** @file\r
-  UEFI Boot Services Table Library internal header\r
-\r
-  Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#ifndef _UEFIBOOTSERVICESTABLE_LIB_H_\r
-#define _UEFIBOOTSERVICESTABLE_LIB_H_\r
-/**\r
-  \r
-  Initialize gBS.\r
-   \r
-  @param  ImageHandle ImageHandle of the loaded driver.\r
-  @param  SystemTable Pointer to the EFI System Table.\r
-\r
-  @retval  EFI_SUCCESS One or more of the drivers returned a success code.\r
-  @retval  !EFI_SUCESS The return status from the last driver entry point in the list.\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-UefiBootServicesTableLibConstructor (\r
-  IN EFI_HANDLE        ImageHandle,\r
-  IN EFI_SYSTEM_TABLE  *SystemTable\r
-  )\r
-;\r
-#endif\r