Commit | Line | Data |
---|---|---|
fb3df220 | 1 | /** @file\r |
50a64e5b | 2 | Provides a service to retrieve a pointer to the DXE Services Table.\r |
3 | Only available to DXE module types.\r | |
9095d37b LG |
4 | \r |
5 | This library does not contain any functions or macros. It simply exports a global\r | |
6 | pointer to the DXE Services Table as defined in the Platform Initialization Driver\r | |
7 | Execution Environment Core Interface Specification. The library constructor must\r | |
f9eb929d | 8 | initialize this global pointer to the DX Services Table, so it is available at the\r |
9095d37b LG |
9 | module's entry point. Since there is overhead in looking up the pointer to the DXE\r |
10 | Services Table, only those modules that actually require access to the DXE Services\r | |
11 | Table should use this library. This will typically be DXE Drivers that require GCD\r | |
f9eb929d | 12 | or Dispatcher services.\r |
9095d37b LG |
13 | \r |
14 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
9344f092 | 15 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
fb3df220 | 16 | \r |
fb3df220 | 17 | **/\r |
18 | \r | |
19 | #ifndef __DXE_SERVICES_TABLE_LIB_H__\r | |
20 | #define __DXE_SERVICES_TABLE_LIB_H__\r | |
21 | \r | |
fc30687f | 22 | ///\r |
23 | /// Cache copy of the DXE Services Table\r | |
24 | ///\r | |
fb3df220 | 25 | extern EFI_DXE_SERVICES *gDS;\r |
26 | \r | |
27 | #endif\r |