xref: /freebsd/sys/contrib/edk2/Include/Library/UefiBootServicesTableLib.h (revision a8089ea5aee578e08acab2438e82fc9a9ae50ed8)
1 /** @file
2   Provides a service to retrieve a pointer to the EFI Boot Services Table.
3   Only available to DXE and UEFI module types.
4 
5 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7 
8 **/
9 
10 #ifndef __UEFI_BOOT_SERVICES_TABLE_LIB_H__
11 #define __UEFI_BOOT_SERVICES_TABLE_LIB_H__
12 
13 ///
14 /// Cache the Image Handle
15 ///
16 extern EFI_HANDLE         gImageHandle;
17 
18 ///
19 /// Cache pointer to the EFI System Table
20 ///
21 extern EFI_SYSTEM_TABLE   *gST;
22 
23 ///
24 /// Cache pointer to the EFI Boot Services Table
25 ///
26 extern EFI_BOOT_SERVICES  *gBS;
27 
28 #endif
29