source:
vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/UefiRuntimeServicesTableLib.h@
105681
Last change on this file since 105681 was 80721, checked in by , 5 years ago | |
---|---|
|
|
File size: 1009 bytes |
Line | |
---|---|
1 | /** @file |
2 | Provides a service to retrieve a pointer to the EFI Runtime Services Table. |
3 | |
4 | This library does not contain any functions or macros. It simply exports the |
5 | global variable gRT that is a pointer to the EFI Runtime Services Table as defined |
6 | in the UEFI Specification. The global variable gRT must be preinitialized to NULL. |
7 | The library constructor must set gRT to point at the EFI Runtime Services Table so |
8 | it is available at the module's entry point. Since there is overhead in initializing |
9 | this global variable, only those modules that actually require access to the EFI |
10 | Runtime Services Table should use this library. |
11 | Only available to DXE and UEFI module types. |
12 | |
13 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> |
14 | SPDX-License-Identifier: BSD-2-Clause-Patent |
15 | |
16 | **/ |
17 | |
18 | #ifndef __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__ |
19 | #define __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__ |
20 | |
21 | /// |
22 | /// Cached copy of the EFI Runtime Services Table |
23 | /// |
24 | extern EFI_RUNTIME_SERVICES *gRT; |
25 | |
26 | #endif |
Note:
See TracBrowser
for help on using the repository browser.