From 7292888e44ea5a28dc9cbcc689278a0c53032dd3 Mon Sep 17 00:00:00 2001 From: klu2 Date: Wed, 3 Sep 2008 07:55:15 +0000 Subject: [PATCH] Add more file comments for PeiServiceTableLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5790 6f19259b-4bc3-4df7-8a09-765794883524 --- .../PeiServicesTablePointer.c | 5 ++- .../PeiServicesTablePointerInternal.h | 37 ------------------- .../PeiServicesTablePointerLib.inf | 1 + 3 files changed, 4 insertions(+), 39 deletions(-) delete mode 100644 MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h diff --git a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c index 43293fb83c..da866610da 100644 --- a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c +++ b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c @@ -1,5 +1,8 @@ /** @file PEI Services Table Pointer Library. + + This library is used for PEIM which does executed from flash device directly but + executed in memory. Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials @@ -16,8 +19,6 @@ #include #include -#include "PeiServicesTablePointerInternal.h" - STATIC EFI_PEI_SERVICES **gPeiServices; /** diff --git a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h deleted file mode 100644 index f6d9efd10f..0000000000 --- a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h +++ /dev/null @@ -1,37 +0,0 @@ -/** @file - Internal Header file for PEI Services Table Pointer Library. - - 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 _PEI_SERVICE_TABLE_POINTER_INTERNAL_H_ -#define _PEI_SERVICE_TABLE_POINTER_INTERNAL_H_ - -/** - The constructor function caches the pointer to PEI services. - - The constructor function caches the pointer to PEI services. - It will always return EFI_SUCCESS. - - @param FileHandle Handle of FFS header the loaded driver. - @param PeiServices Pointer to the PEI services. - - @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. - -**/ -EFI_STATUS -EFIAPI -PeiServicesTablePointerLibConstructor ( - IN EFI_PEI_FILE_HANDLE FileHandle, - IN EFI_PEI_SERVICES **PeiServices - ) -; -#endif diff --git a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf index bd5656e50b..1b2aa44599 100644 --- a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf +++ b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf @@ -4,6 +4,7 @@ # PEI Services Table Library implementation that retrieves a pointer to the # PEI Services Table from a global variable. Not available to modules that execute from # read-only memory. +# # Copyright (c) 2007, Intel Corporation. # # All rights reserved. This program and the accompanying materials -- 2.39.2