From bb347ec2750f416da929f9995b1eb6b3fbe77cf7 Mon Sep 17 00:00:00 2001 From: klu2 Date: Wed, 3 Sep 2008 07:50:48 +0000 Subject: Add more comments for DxeServicesTableLib library instance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5788 6f19259b-4bc3-4df7-8a09-765794883524 --- .../DxeServicesTableLib/DxeServicesTableLib.c | 8 +++-- .../DxeServicesTableLib/DxeServicesTableLib.inf | 5 ++- .../DxeServicesTableLibInternal.h | 40 ---------------------- 3 files changed, 7 insertions(+), 46 deletions(-) delete mode 100644 MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h (limited to 'MdePkg/Library/DxeServicesTableLib') diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c index 423ade230f..2c5baea626 100644 --- a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c +++ b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c @@ -1,5 +1,9 @@ /** @file - DXE Library. + This library produce EFI_DXE_SERVICE pointer in global EFI system table. It should + be linked to a DXE driver who use gBS. + + This library contains contruct function to retrieve EFI_DXE_SERIVCE, this construct + function will be invoked in DXE driver's autogen file. Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials @@ -18,8 +22,6 @@ #include #include -#include "DxeServicesTableLibInternal.h" - // // Cache copy of the DXE Services Table // diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf index 132654ea82..cbacc1c0ad 100644 --- a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf +++ b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf @@ -1,8 +1,7 @@ #/** @file -# Component description file for Dxe Services Table Library. -# # DXE Services Table Library that retrieves a pointer to the DXE Services -# Table from the Configuration Table in the EFI System Table. +# Table from the Configuration Table in the EFI System Table. +# # Copyright (c) 2007, Intel Corporation. # # All rights reserved. This program and the accompanying materials diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h deleted file mode 100644 index b9cea72439..0000000000 --- a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h +++ /dev/null @@ -1,40 +0,0 @@ -/** @file - Internal Header file for Dxe Services Table Library Instance. - - Copyright (c) 2006, 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 _DXE_SERVICE_TABLE_LIB_INTERNAL_H_ -#define _DXE_SERVICE_TABLE_LIB_INTERNAL_H_ - - -/** - The constructor function caches the pointer of DXE Services Table. - - The constructor function caches the pointer of DXE Services Table. - It will ASSERT() if that operation fails. - It will ASSERT() if the pointer of DXE Services Table is NULL. - It will always return EFI_SUCCESS. - - @param ImageHandle The firmware allocated handle for the EFI image. - @param SystemTable A pointer to the EFI System Table. - - @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. - -**/ -EFI_STATUS -EFIAPI -DxeServicesTableLibConstructor ( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable - ) -; -#endif -- cgit v1.2.3