From 60c93673b3189b7a48acdb5c300f4ee3546ffb85 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Sat, 30 Aug 2008 14:09:38 +0000 Subject: 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 --- .../UefiRuntimeServicesTableLib.c | 8 +---- .../UefiRuntimeServicesTableLibInternal.h | 39 ---------------------- 2 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLibInternal.h (limited to 'MdePkg/Library/UefiRuntimeServicesTableLib') 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 - - -#include +#include #include -#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
- 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 - -- cgit v1.2.3