summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/UefiRuntimeServicesTableLib
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-30 14:09:38 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-30 14:09:38 +0000
commit60c93673b3189b7a48acdb5c300f4ee3546ffb85 (patch)
treec335e23e592face4b3d6e5dcafffb8d51d64d246 /MdePkg/Library/UefiRuntimeServicesTableLib
parented300ce2a68ba42b7e140af9e7e71c706518c9f1 (diff)
downloadedk2-60c93673b3189b7a48acdb5c300f4ee3546ffb85.tar.gz
edk2-60c93673b3189b7a48acdb5c300f4ee3546ffb85.tar.bz2
edk2-60c93673b3189b7a48acdb5c300f4ee3546ffb85.zip
The driver and library in MdePkg, MdeModulePkg and Nt32Pkg that don't depend on PI spec should include Uefi.h not PiDxe.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5758 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiRuntimeServicesTableLib')
-rw-r--r--MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.c8
-rw-r--r--MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLibInternal.h39
2 files changed, 1 insertions, 46 deletions
diff --git a/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.c b/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.c
index 4889094618..e664a0f5c2 100644
--- a/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.c
+++ b/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.c
@@ -12,15 +12,9 @@
**/
-
-#include <PiDxe.h>
-
-
-#include <Library/UefiRuntimeServicesTableLib.h>
+#include <Uefi.h>
#include <Library/DebugLib.h>
-#include "UefiRuntimeServicesTableLibInternal.h"
-
EFI_RUNTIME_SERVICES *gRT = NULL;
/**
diff --git a/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLibInternal.h b/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLibInternal.h
deleted file mode 100644
index 95ff283203..0000000000
--- a/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLibInternal.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/** @file
- Internal Header file for UEFI Runtime Services Table 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 _UEFI_RUNTIME_SERVICES_TABLE_LIB_INTERNAL_H_
-#define _UEFI_RUNTIME_SERVICES_TABLE_LIB_INTERNAL_H_
-/**
- The constructor function caches the pointer of Runtime Services Table.
-
- The constructor function caches the pointer of Runtime Services Table.
- It will ASSERT() if the pointer of Runtime 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
-UefiRuntimeServicesTableLibConstructor (
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
-#endif
-