summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiBootServicesTableLib
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/UefiBootServicesTableLib
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/UefiBootServicesTableLib')
-rw-r--r--MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c3
-rw-r--r--MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h25
2 files changed, 27 insertions, 1 deletions
diff --git a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c
index bf77adf49c..3493c643f7 100644
--- a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c
+++ b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c
@@ -26,6 +26,7 @@
//
#include <Library/UefiBootServicesTableLib.h>
#include <Library/DebugLib.h>
+#include "UefiBootServicesTableLibInternal.h"
EFI_HANDLE gImageHandle = NULL;
EFI_SYSTEM_TABLE *gST = NULL;
@@ -33,7 +34,7 @@ EFI_BOOT_SERVICES *gBS = NULL;
/**
The constructor function caches the pointer of Boot Services Table.
-
+
The constructor function caches the pointer of Boot Services Table through System Table.
It will ASSERT() if the pointer of System Table is NULL.
It will ASSERT() if the pointer of Boot Services Table is NULL.
diff --git a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h
new file mode 100644
index 0000000000..63a138a558
--- /dev/null
+++ b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLibInternal.h
@@ -0,0 +1,25 @@
+/** @file
+ UEFI Boot Services Table Library internal header
+
+ Copyright (c) 2006 - 2007, 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 _UefiBootServicesTable_Lib_H
+#define _UefiBootServicesTable_Lib_H
+
+EFI_STATUS
+EFIAPI
+UefiBootServicesTableLibConstructor (
+ IN EFI_HANDLE ImageHandle,
+ IN EFI_SYSTEM_TABLE *SystemTable
+ )
+;
+#endif