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
This commit is contained in:
lgao4 2008-08-30 14:09:38 +00:00
parent ed300ce2a6
commit 60c93673b3
63 changed files with 89 additions and 128 deletions

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _EFI_EHCI_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/Usb2HostController.h>
#include <Protocol/PciIo.h>

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _EFI_UHCI_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/Usb2HostController.h>
#include <Protocol/UsbHostController.h>

View File

@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _UNDI_32_H_
#define _UNDI_32_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Guid/EventGroup.h>
#include <Protocol/PciIo.h>

View File

@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/ScsiPassThru.h>

View File

@ -14,7 +14,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/ScsiPassThru.h>

View File

@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/ScsiIo.h>

View File

@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/ScsiIo.h>

View File

@ -14,7 +14,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Library/UefiLib.h>

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _EFI_USB_BUS_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/Usb2HostController.h>
#include <Protocol/UsbHostController.h>

View File

@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _EFI_USB_KB_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/SimpleTextIn.h>
#include <Protocol/SimpleTextInEx.h>

View File

@ -14,7 +14,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Library/UefiLib.h>

View File

@ -23,7 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _EFI_USBMASS_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/BlockIo.h>
#include <Protocol/UsbIo.h>

View File

@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _USB_MOUSE_ABSOLUTE_POINTER_H
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/AbsolutePointer.h>
#include <Protocol/UsbIo.h>

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _EFI_USB_MOUSE_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/SimplePointer.h>
#include <Protocol/UsbIo.h>

View File

@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
UINT32 mCrcTable[256];

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _RUNTIME_H_
#define _RUNTIME_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/LoadedImage.h>
#include <Protocol/Runtime.h>
#include <Library/BaseLib.h>

View File

@ -113,7 +113,7 @@ typedef struct _EFI_IFR_GUID_SUBCLASS {
} EFI_IFR_GUID_SUBCLASS;
//
// GUIDed opcodes defined for Tiano
// GUIDed opcodes defined for framework vfr.
//
#define EFI_IFR_FRAMEWORK_GUID \
{ 0x31ca5d1a, 0xd511, 0x4931, { 0xb7, 0x82, 0xae, 0x6b, 0x2b, 0x17, 0x8c, 0xd7 } }

View File

@ -11,7 +11,7 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Library/CapsuleLib.h>
/**

View File

@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/Print.h>

View File

@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/DevicePath.h>

View File

@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _IFRLIBRARY_INTERNAL_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Guid/GlobalVariable.h>
#include <Protocol/DevicePath.h>

View File

@ -14,7 +14,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/SimpleTextOut.h>
#include <Protocol/OEMBadging.h>

View File

@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _CAPSULE_RUNTIME_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/Capsule.h>
#include <Guid/CapsuleVendor.h>

View File

@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _CON_PLATFORM_H_
#define _CON_PLATFORM_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/SimpleTextOut.h>
#include <Protocol/DevicePath.h>

View File

@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _CON_SPLITTER_H_
#define _CON_SPLITTER_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Guid/PrimaryStandardErrorDevice.h>
#include <Guid/PrimaryConsoleOutDevice.h>
#include <Protocol/GraphicsOutput.h>

View File

@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _GRAPHICS_CONSOLE_H_
#define _GRAPHICS_CONSOLE_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/SimpleTextOut.h>
#include <Protocol/GraphicsOutput.h>
#include <Protocol/UgaDraw.h>

View File

@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _TERMINAL_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/SimpleTextOut.h>
#include <Protocol/SerialIo.h>
#include <Guid/GlobalVariable.h>

View File

@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _PLDEBUG_SUPPORT_H
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/DebugSupport.h>
#include <Protocol/LoadedImage.h>

View File

@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _PLDEBUG_SUPPORT_H
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/DebugSupport.h>
#include <Protocol/LoadedImage.h>

View File

@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _PLDEBUG_SUPPORT_H
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/DebugSupport.h>
#include <Protocol/LoadedImage.h>

View File

@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _DEVICE_PATH_DRIVER_H_
#define _DEVICE_PATH_DRIVER_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/DevicePathUtilities.h>
#include <Protocol/DebugPort.h>
#include <Protocol/DevicePathToText.h>

View File

@ -24,7 +24,7 @@ Revision History
#ifndef _DRIVER_SAMPLE_H
#define _DRIVER_SAMPLE_H
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/HiiConfigRouting.h>
#include <Protocol/FormBrowser2.h>

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _EBC_INT_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/DebugSupport.h>
#include <Protocol/Ebc.h>

View File

@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef __HII_DATABASE_PRIVATE_H__
#define __HII_DATABASE_PRIVATE_H__
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/ConsoleControl.h>
#include <Protocol/DevicePath.h>

View File

@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _NULL_MEMORY_TEST_H
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/GenericMemoryTest.h>

View File

@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _MONOTONIC_COUNTER_DRIVER_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/MonotonicCounter.h>

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _RTC_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/RealTimeClock.h>
#include <Guid/GenericPlatformVariable.h>

View File

@ -22,8 +22,6 @@ Abstract:
#ifndef _PLAT_OVER_MNGR_H_
#define _PLAT_OVER_MNGR_H_
#include <Uefi.h>
#include <PiDxe.h>
#include <Protocol/HiiConfigAccess.h>

View File

@ -21,7 +21,7 @@ Abstract:
#ifndef PLATFORM_DRI_OVERRIDE_H_
#define PLATFORM_DRI_OVERRIDE_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Library/DebugLib.h>
#include <Library/UefiDriverEntryPoint.h>

View File

@ -19,7 +19,7 @@
//
// Common header files for this module.
//
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/Security.h>
#include <Library/DebugLib.h>
#include <Library/UefiBootServicesTableLib.h>

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _SETUP_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/Print.h>
#include <Protocol/SimpleTextOut.h>

View File

@ -21,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
// Statements that include other header files
//
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/VariableWrite.h>
#include <Protocol/Variable.h>

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _VARIABLE_H
#define _VARIABLE_H
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/VariableWrite.h>
#include <Protocol/FaultTolerantWriteLite.h>
#include <Protocol/FirmwareVolumeBlock.h>

View File

@ -19,7 +19,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <PiDxe.h>
#include <Uefi.h>
#include <Library/DebugLib.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/ReportStatusCodeLib.h>

View File

@ -14,7 +14,7 @@
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Library/MemoryAllocationLib.h>

View File

@ -15,7 +15,7 @@
#ifndef __INTERNAL_HII_LIB_H__
#define __INTERNAL_HII_LIB_H__
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/HiiDatabase.h>
#include <Protocol/HiiString.h>

View File

@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _IFRLIBRARY_INTERNAL_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/DevicePath.h>

View File

@ -13,7 +13,7 @@
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/DebugLib.h>

View File

@ -14,7 +14,7 @@
#define __UEFI_LIB_INTERNAL_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/DriverBinding.h>
#include <Protocol/ComponentName.h>
#include <Protocol/ComponentName2.h>

View File

@ -1,7 +1,7 @@
/** @file
Library utility functions for Runtime driver.
UEFI Runtime Library implementation for non IPF processor types.
Copyright (c) 2006 Intel Corporation. <BR>
Copyright (c) 2006 - 2008 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
@ -70,6 +70,8 @@ RuntimeLibVirtualNotifyEvent (
/**
Intialize runtime Driver Lib if it has not yet been initialized.
It will ASSERT() if gRT is NULL or gBS is NULL.
It will ASSERT() if that operation fails.
@param[in] ImageHandle The firmware allocated handle for the EFI image.
@param[in] SystemTable A pointer to the EFI System Table.
@ -85,13 +87,13 @@ RuntimeDriverLibConstruct (
{
EFI_STATUS Status;
ASSERT (gRT != NULL);
ASSERT (gBS != NULL);
mRT = gRT;
ASSERT (mRT != NULL);
//
// Register SetVirtualAddressMap () notify function
//
ASSERT (gBS != NULL);
Status = gBS->CreateEvent (
EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,
TPL_NOTIFY,
@ -116,9 +118,10 @@ RuntimeDriverLibConstruct (
}
/**
This routine will free some resources which have been allocated in
EfiInitializeRuntimeDriverLib(). If a runtime driver exits with an error,
it must call this routine to free the allocated resource before the exiting.
If a runtime driver exits with an error, it must call this routine
to free the allocated resource before the exiting.
It will ASSERT() if gBS is NULL.
It will ASSERT() if that operation fails.
@param[in] ImageHandle The firmware allocated handle for the EFI image.
@param[in] SystemTable A pointer to the EFI System Table.

View File

@ -15,7 +15,7 @@
#ifndef __RUNTIMELIBINTERNAL_H__
#define __RUNTIMELIBINTERNAL_H__
#include <PiDxe.h>
#include <Uefi.h>
#include <Library/UefiRuntimeLib.h>
#include <Library/DebugLib.h>
#include <Library/UefiBootServicesTableLib.h>

View File

@ -6,7 +6,7 @@
OS virtual address space. All pointer values are different for a virtual
mapping than from the normal physical mapping at boot services time.
Copyright (c) 2006 - 2007, Intel Corporation.<BR>
Copyright (c) 2006 - 2008, 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
@ -17,9 +17,7 @@
**/
#include <PiDxe.h>
#include <RuntimeLibInternal.h>
#include "RuntimeLibInternal.h"
/**
@ -54,7 +52,7 @@ EfiResetSystem (
capabilities.
@retval EFI_SUCCESS Success to execute the function.
@retval !EFI_SUCCESS Failed to e3xecute the function.
@retval !EFI_SUCCESS Failed to execute the function.
**/
EFI_STATUS
@ -95,7 +93,7 @@ EfiSetTime (
@param Time Current alarm clock setting.
@retval EFI_SUCCESS Success to execute the function.
@retval !EFI_SUCCESS Failed to e3xecute the function.
@retval !EFI_SUCCESS Failed to execute the function.
**/
EFI_STATUS
@ -118,7 +116,7 @@ EfiGetWakeupTime (
@param Time Point to alarm clock setting.
@retval EFI_SUCCESS Success to execute the function.
@retval !EFI_SUCCESS Failed to e3xecute the function.
@retval !EFI_SUCCESS Failed to execute the function.
**/
EFI_STATUS
@ -145,7 +143,7 @@ EfiSetWakeupTime (
@param Data Point to return Data-Buffer.
@retval EFI_SUCCESS Success to execute the function.
@retval !EFI_SUCCESS Failed to e3xecute the function.
@retval !EFI_SUCCESS Failed to execute the function.
**/
EFI_STATUS
@ -176,7 +174,7 @@ EfiGetVariable (
As output, returns the VendorGuid of the current variable.
@retval EFI_SUCCESS Success to execute the function.
@retval !EFI_SUCCESS Failed to e3xecute the function.
@retval !EFI_SUCCESS Failed to execute the function.
**/
EFI_STATUS
@ -203,7 +201,7 @@ EfiGetNextVariableName (
@param Data Point to the content of the variable.
@retval EFI_SUCCESS Success to execute the function.
@retval !EFI_SUCCESS Failed to e3xecute the function.
@retval !EFI_SUCCESS Failed to execute the function.
**/
EFI_STATUS
@ -226,7 +224,7 @@ EfiSetVariable (
@param HighCount Pointer to returned value.
@retval EFI_SUCCESS Success to execute the function.
@retval !EFI_SUCCESS Failed to e3xecute the function.
@retval !EFI_SUCCESS Failed to execute the function.
**/
EFI_STATUS
@ -248,7 +246,7 @@ EfiGetNextHighMonotonicCount (
applied.
@retval EFI_SUCCESS Success to execute the function.
@retval !EFI_SUCCESS Failed to e3xecute the function.
@retval !EFI_SUCCESS Failed to execute the function.
**/
EFI_STATUS
@ -269,7 +267,7 @@ EfiConvertPointer (
@param ListHead Head of linked list to convert.
@retval EFI_SUCCESS Success to execute the function.
@retval !EFI_SUCCESS Failed to e3xecute the function.
@retval !EFI_SUCCESS Failed to execute the function.
**/
EFI_STATUS
@ -281,6 +279,13 @@ EfiConvertList (
{
LIST_ENTRY *Link;
LIST_ENTRY *NextLink;
//
// For NULL List, return EFI_SUCCESS
//
if (ListHead == NULL) {
return EFI_SUCCESS;
}
//
// Convert all the ForwardLink & BackLink pointers in the list

View File

@ -2,7 +2,7 @@
# Runtime driver library
#
# Instance of runtime driver library, Hook VitualAddressChange and
# BooterviceExit event and provide runtime service.
# BooterviceExit event and provide runtime service for non IPF processor types.
# Copyright (c) 2006 - 2007, Intel Corporation.
#
# All rights reserved. This program and the accompanying materials
@ -29,7 +29,7 @@
DESTRUCTOR = RuntimeDriverLibDeconstruct
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
# VALID_ARCHITECTURES = IA32 X64 EBC
#

View File

@ -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;
/**

View File

@ -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

View File

@ -13,7 +13,7 @@
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <Library/DebugLib.h>
#include <Library/ScsiLib.h>
#include <Library/BaseMemoryLib.h>

View File

@ -16,7 +16,7 @@
#ifndef __UEFI_USB_LIB_INTERNAL_H_
#define __UEFI_USB_LIB_INTERNAL_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Library/UsbLib.h>
#include <Library/BaseMemoryLib.h>

View File

@ -22,7 +22,7 @@ Abstract:
#ifndef _NT_THUNK_METRONOME_H_
#define _NT_THUNK_METRONOME_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <WinNtDxe.h>
#include <Protocol/Metronome.h>
#include <Library/BaseLib.h>

View File

@ -19,7 +19,7 @@ Abstract:
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <WinNtDxe.h>
#include <Protocol/RealTimeClock.h>
#include <Library/DebugLib.h>

View File

@ -19,7 +19,7 @@ Abstract:
**/
#include <PiDxe.h>
#include <Uefi.h>
#include <WinNtDxe.h>
#include <Protocol/Reset.h>
#include <Library/DebugLib.h>

View File

@ -20,7 +20,7 @@ Abstract:
#ifndef _SNP_NT32_H_
#define _SNP_NT32_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <Protocol/SimpleNetwork.h>
#include <Protocol/DevicePath.h>

View File

@ -25,7 +25,7 @@ Abstract:
#define _TIMER_H_
#include <PiDxe.h>
#include <Uefi.h>
#include <WinNtDxe.h>
#include <Protocol/Timer.h>
#include <Protocol/Cpu.h>

View File

@ -29,7 +29,7 @@ Abstract:
//
// The package level header files this module uses
//
#include <PiDxe.h>
#include <Uefi.h>
#include <WinNtDxe.h>
//
// The protocols, PPI and GUID defintions for this module