summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-03 07:55:15 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-03 07:55:15 +0000
commit7292888e44ea5a28dc9cbcc689278a0c53032dd3 (patch)
treea0c97893d702fd6fc96adbce27a5c6a6a3ca24f3
parentafa223265a8c8c8e7e57654b22927778d1fb599a (diff)
downloadedk2-platforms-7292888e44ea5a28dc9cbcc689278a0c53032dd3.tar.xz
Add more file comments for PeiServiceTableLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5790 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c5
-rw-r--r--MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h37
-rw-r--r--MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf1
3 files changed, 4 insertions, 39 deletions
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<BR>
All rights reserved. This program and the accompanying materials
@@ -16,8 +19,6 @@
#include <Library/PeiServicesTablePointerLib.h>
#include <Library/DebugLib.h>
-#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<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 _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