summaryrefslogtreecommitdiff
path: root/MdePkg/Library/DxeServicesTableLib
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/DxeServicesTableLib
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/DxeServicesTableLib')
-rw-r--r--MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c1
-rw-r--r--MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h40
2 files changed, 41 insertions, 0 deletions
diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c
index b4faf976f6..afaa913c8c 100644
--- a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c
+++ b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c
@@ -20,6 +20,7 @@
#include <Library/DebugLib.h>
#include <Library/UefiLib.h>
+#include "DxeServicesTableLibInternal.h"
//
// Cache copy of the DXE Services Table
diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h
new file mode 100644
index 0000000000..0a5d4a254b
--- /dev/null
+++ b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h
@@ -0,0 +1,40 @@
+/** @file
+ Internal Header file for Dxe Services Table Library Instance.
+
+ 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 _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