]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | Provides a service to retrieve a pointer to the EFI Runtime Services Table.\r | |
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 | |
11 | Only available to DXE and UEFI module types.\r | |
12 | \r | |
13 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r | |
14 | This program and the accompanying materials\r | |
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 | |
18 | \r | |
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 | |
21 | \r | |
22 | **/\r | |
23 | \r | |
24 | #ifndef __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__\r | |
25 | #define __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__\r | |
26 | \r | |
27 | ///\r | |
28 | /// Cached copy of the EFI Runtime Services Table\r | |
29 | ///\r | |
30 | extern EFI_RUNTIME_SERVICES *gRT;\r | |
31 | \r | |
32 | #endif\r |