]>
Commit | Line | Data |
---|---|---|
fb3df220 | 1 | /** @file\r |
50a64e5b | 2 | Provides a service to retrieve a pointer to the EFI Runtime Services Table.\r |
cf8ae2f6 | 3 | \r |
4 | This library does not contain any functions or macros. It simply exports the\r | |
5 | global variable gRT that is a pointer to the EFI Runtime Services Table as defined\r | |
6 | in the UEFI Specification. The global variable gRT must be preinitialized to NULL.\r | |
7 | The library constructor must set gRT to point at the EFI Runtime Services Table so\r | |
8 | it is available at the module's entry point. Since there is overhead in initializing\r | |
9 | this global variable, only those modules that actually require access to the EFI\r | |
10 | Runtime Services Table should use this library.\r | |
50a64e5b | 11 | Only available to DXE and UEFI module types.\r |
fb3df220 | 12 | \r |
9df063a0 | 13 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r |
9344f092 | 14 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
fb3df220 | 15 | \r |
fb3df220 | 16 | **/\r |
17 | \r | |
18 | #ifndef __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__\r | |
19 | #define __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__\r | |
20 | \r | |
fc30687f | 21 | ///\r |
22 | /// Cached copy of the EFI Runtime Services Table\r | |
23 | ///\r | |
fb3df220 | 24 | extern EFI_RUNTIME_SERVICES *gRT;\r |
25 | \r | |
26 | #endif\r |