TianoCore EDK2
master
Loading...
Searching...
No Matches
UefiRuntimeServicesTableLib.c
Go to the documentation of this file.
1
12
#include <
Uefi.h
>
13
#include <
Library/DebugLib.h
>
14
15
EFI_RUNTIME_SERVICES
*
gRT
=
NULL
;
16
30
EFI_STATUS
31
EFIAPI
32
UefiRuntimeServicesTableLibConstructor
(
33
IN
EFI_HANDLE
ImageHandle,
34
IN
EFI_SYSTEM_TABLE
*SystemTable
35
)
36
{
37
//
38
// Cache pointer to the EFI Runtime Services Table
39
//
40
gRT
= SystemTable->RuntimeServices;
41
ASSERT (
gRT
!=
NULL
);
42
return
EFI_SUCCESS
;
43
}
NULL
#define NULL
Definition:
Base.h:319
IN
#define IN
Definition:
Base.h:279
DebugLib.h
Uefi.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
EFI_SUCCESS
#define EFI_SUCCESS
Definition:
UefiBaseType.h:112
gRT
EFI_RUNTIME_SERVICES * gRT
Definition:
UefiRuntimeServicesTableLib.c:15
UefiRuntimeServicesTableLibConstructor
EFI_STATUS EFIAPI UefiRuntimeServicesTableLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition:
UefiRuntimeServicesTableLib.c:32
EFI_RUNTIME_SERVICES
Definition:
UefiSpec.h:1864
EFI_SYSTEM_TABLE
Definition:
UefiSpec.h:2028
MdePkg
Library
UefiRuntimeServicesTableLib
UefiRuntimeServicesTableLib.c
Generated on Fri Nov 15 2024 18:01:18 for TianoCore EDK2 by
1.9.6