]>
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 HT |
13 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r |
14 | This program and the accompanying materials\r | |
50a64e5b | 15 | are licensed and made available under the terms and conditions of the BSD License\r |
16 | which accompanies this distribution. The full text of the license may be found at\r | |
17 | http://opensource.org/licenses/bsd-license.php\r | |
fb3df220 | 18 | \r |
50a64e5b | 19 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
20 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
fb3df220 | 21 | \r |
fb3df220 | 22 | **/\r |
23 | \r | |
24 | #ifndef __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__\r | |
25 | #define __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__\r | |
26 | \r | |
fc30687f | 27 | ///\r |
28 | /// Cached copy of the EFI Runtime Services Table\r | |
29 | ///\r | |
fb3df220 | 30 | extern EFI_RUNTIME_SERVICES *gRT;\r |
31 | \r | |
32 | #endif\r |