]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/Library/DxeServicesTableLib.h
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Include / Library / DxeServicesTableLib.h
... / ...
CommitLineData
1/** @file\r
2 Provides a service to retrieve a pointer to the DXE Services Table.\r
3 Only available to DXE module types.\r
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
8 initialize this global pointer to the DX Services Table, so it is available at the\r
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
12 or Dispatcher services.\r
13\r
14Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
15This program and the accompanying materials\r
16are licensed and made available under the terms and conditions of the BSD License\r
17which accompanies this distribution. The full text of the license may be found at\r
18http://opensource.org/licenses/bsd-license.php\r
19\r
20THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
21WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
22\r
23**/\r
24\r
25#ifndef __DXE_SERVICES_TABLE_LIB_H__\r
26#define __DXE_SERVICES_TABLE_LIB_H__\r
27\r
28///\r
29/// Cache copy of the DXE Services Table\r
30///\r
31extern EFI_DXE_SERVICES *gDS;\r
32\r
33#endif\r
34\r