]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Library/DxeServicesTableLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Include / Library / DxeServicesTableLib.h
1 /** @file
2 Provides a service to retrieve a pointer to the DXE Services Table.
3 Only available to DXE module types.
4
5 This library does not contain any functions or macros. It simply exports a global
6 pointer to the DXE Services Table as defined in the Platform Initialization Driver
7 Execution Environment Core Interface Specification. The library constructor must
8 initialize this global pointer to the DX Services Table, so it is available at the
9 module's entry point. Since there is overhead in looking up the pointer to the DXE
10 Services Table, only those modules that actually require access to the DXE Services
11 Table should use this library. This will typically be DXE Drivers that require GCD
12 or Dispatcher services.
13
14 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
15 SPDX-License-Identifier: BSD-2-Clause-Patent
16
17 **/
18
19 #ifndef __DXE_SERVICES_TABLE_LIB_H__
20 #define __DXE_SERVICES_TABLE_LIB_H__
21
22 ///
23 /// Cache copy of the DXE Services Table
24 ///
25 extern EFI_DXE_SERVICES *gDS;
26
27 #endif
28