summaryrefslogtreecommitdiff
path: root/MdePkg/Library/PeiServicesTablePointerLib
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-06 15:19:20 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-06 15:19:20 +0000
commita73480f6f2e211947ac19ef049adcba6f50bb655 (patch)
tree1142c6c03237e760272c32e01e4e55f9b2093935 /MdePkg/Library/PeiServicesTablePointerLib
parent04eced5b5281adee80dc108a963371e8424d30fc (diff)
downloadedk2-platforms-a73480f6f2e211947ac19ef049adcba6f50bb655.tar.xz
Enable Intel IPF compilation for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3130 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeiServicesTablePointerLib')
-rw-r--r--MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c1
-rw-r--r--MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h36
2 files changed, 37 insertions, 0 deletions
diff --git a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c
index 9dea0476d9..558f7cc193 100644
--- a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c
+++ b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c
@@ -18,6 +18,7 @@
#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
new file mode 100644
index 0000000000..0e0e4ffe01
--- /dev/null
+++ b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h
@@ -0,0 +1,36 @@
+/** @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 FfsHeader Pointer to 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_FFS_FILE_HEADER *FfsHeader,
+ IN EFI_PEI_SERVICES **PeiServices
+ )
+;
+#endif