]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Library/DxeServicesTableLib.h
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Include / Library / DxeServicesTableLib.h
CommitLineData
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
14Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
9df063a0 15This program and the accompanying materials\r
50a64e5b 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
fb3df220 19\r
50a64e5b 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
fb3df220 22\r
fb3df220 23**/\r
24\r
25#ifndef __DXE_SERVICES_TABLE_LIB_H__\r
26#define __DXE_SERVICES_TABLE_LIB_H__\r
27\r
fc30687f 28///\r
29/// Cache copy of the DXE Services Table\r
30///\r
fb3df220 31extern EFI_DXE_SERVICES *gDS;\r
32\r
33#endif\r
34\r