xref: /freebsd-src/sys/contrib/edk2/Include/Library/UefiBootServicesTableLib.h (revision 3245fa215aca18d135839a15c80ae1c905666a37)
10d1ba665SWarner Losh /** @file
20d1ba665SWarner Losh   Provides a service to retrieve a pointer to the EFI Boot Services Table.
30d1ba665SWarner Losh   Only available to DXE and UEFI module types.
40d1ba665SWarner Losh 
50d1ba665SWarner Losh Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
6*3245fa21SMitchell Horne SPDX-License-Identifier: BSD-2-Clause-Patent
70d1ba665SWarner Losh 
80d1ba665SWarner Losh **/
90d1ba665SWarner Losh 
100d1ba665SWarner Losh #ifndef __UEFI_BOOT_SERVICES_TABLE_LIB_H__
110d1ba665SWarner Losh #define __UEFI_BOOT_SERVICES_TABLE_LIB_H__
120d1ba665SWarner Losh 
130d1ba665SWarner Losh ///
140d1ba665SWarner Losh /// Cache the Image Handle
150d1ba665SWarner Losh ///
160d1ba665SWarner Losh extern EFI_HANDLE         gImageHandle;
170d1ba665SWarner Losh 
180d1ba665SWarner Losh ///
190d1ba665SWarner Losh /// Cache pointer to the EFI System Table
200d1ba665SWarner Losh ///
210d1ba665SWarner Losh extern EFI_SYSTEM_TABLE   *gST;
220d1ba665SWarner Losh 
230d1ba665SWarner Losh ///
240d1ba665SWarner Losh /// Cache pointer to the EFI Boot Services Table
250d1ba665SWarner Losh ///
260d1ba665SWarner Losh extern EFI_BOOT_SERVICES  *gBS;
270d1ba665SWarner Losh 
280d1ba665SWarner Losh #endif
29