]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add more comments for DxeServicesTableLib library instance.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Sep 2008 07:50:48 +0000 (07:50 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Sep 2008 07:50:48 +0000 (07:50 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5788 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c
MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h [deleted file]

index 423ade230f866bb0126e3398028db452bb34c3ab..2c5baea6265dc6cbb5cefc8d32158b5f8a78a865 100644 (file)
@@ -1,5 +1,9 @@
 /** @file\r
-  DXE Library.\r
+  This library produce EFI_DXE_SERVICE pointer in global EFI system table. It should\r
+  be linked to a DXE driver who use gBS.\r
+  \r
+  This library contains contruct function to retrieve EFI_DXE_SERIVCE, this construct\r
+  function will be invoked in DXE driver's autogen file.\r
 \r
   Copyright (c) 2006, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials\r
@@ -18,8 +22,6 @@
 #include <Library/DebugLib.h>\r
 #include <Library/UefiLib.h>\r
 \r
-#include "DxeServicesTableLibInternal.h"\r
-\r
 //\r
 // Cache copy of the DXE Services Table\r
 //\r
index 132654ea82bb78896f26fbb7d53100e5ba9a3461..cbacc1c0ad9e66442e7e2b37dcff7aa6097898cd 100644 (file)
@@ -1,8 +1,7 @@
 #/** @file\r
-# Component description file for Dxe Services Table Library.\r
-#\r
 # DXE Services Table Library that retrieves a pointer to the DXE Services\r
-#  Table from the Configuration Table in the EFI System Table.\r
+# Table from the Configuration Table in the EFI System Table.\r
+#\r
 # Copyright (c) 2007, Intel Corporation.\r
 #\r
 #  All rights reserved. This program and the accompanying materials\r
diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h
deleted file mode 100644 (file)
index b9cea72..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/** @file\r
-  Internal Header file for Dxe Services Table Library Instance.\r
-\r
-  Copyright (c) 2006, 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 _DXE_SERVICE_TABLE_LIB_INTERNAL_H_\r
-#define _DXE_SERVICE_TABLE_LIB_INTERNAL_H_\r
-\r
-\r
-/**\r
-  The constructor function caches the pointer of DXE Services Table.\r
-\r
-  The constructor function caches the pointer of DXE Services Table.\r
-  It will ASSERT() if that operation fails.\r
-  It will ASSERT() if the pointer of DXE Services Table is NULL.\r
-  It will always return EFI_SUCCESS.\r
-\r
-  @param  ImageHandle   The firmware allocated handle for the EFI image.\r
-  @param  SystemTable   A pointer to the EFI System Table.\r
-\r
-  @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-DxeServicesTableLibConstructor (\r
-  IN EFI_HANDLE        ImageHandle,\r
-  IN EFI_SYSTEM_TABLE  *SystemTable\r
-  )\r
-;\r
-#endif\r