xref: /freebsd/sys/contrib/edk2/Include/Library/UefiBootServicesTableLib.h (revision 0d1ba6657e90b1f9b76e1c393b1555d6cf6cf260)
1*0d1ba665SWarner Losh /** @file
2*0d1ba665SWarner Losh   Provides a service to retrieve a pointer to the EFI Boot Services Table.
3*0d1ba665SWarner Losh   Only available to DXE and UEFI module types.
4*0d1ba665SWarner Losh 
5*0d1ba665SWarner Losh Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
6*0d1ba665SWarner Losh This program and the accompanying materials
7*0d1ba665SWarner Losh are licensed and made available under the terms and conditions of the BSD License
8*0d1ba665SWarner Losh which accompanies this distribution.  The full text of the license may be found at
9*0d1ba665SWarner Losh http://opensource.org/licenses/bsd-license.php
10*0d1ba665SWarner Losh 
11*0d1ba665SWarner Losh THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12*0d1ba665SWarner Losh WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13*0d1ba665SWarner Losh 
14*0d1ba665SWarner Losh **/
15*0d1ba665SWarner Losh 
16*0d1ba665SWarner Losh #ifndef __UEFI_BOOT_SERVICES_TABLE_LIB_H__
17*0d1ba665SWarner Losh #define __UEFI_BOOT_SERVICES_TABLE_LIB_H__
18*0d1ba665SWarner Losh 
19*0d1ba665SWarner Losh ///
20*0d1ba665SWarner Losh /// Cache the Image Handle
21*0d1ba665SWarner Losh ///
22*0d1ba665SWarner Losh extern EFI_HANDLE         gImageHandle;
23*0d1ba665SWarner Losh 
24*0d1ba665SWarner Losh ///
25*0d1ba665SWarner Losh /// Cache pointer to the EFI System Table
26*0d1ba665SWarner Losh ///
27*0d1ba665SWarner Losh extern EFI_SYSTEM_TABLE   *gST;
28*0d1ba665SWarner Losh 
29*0d1ba665SWarner Losh ///
30*0d1ba665SWarner Losh /// Cache pointer to the EFI Boot Services Table
31*0d1ba665SWarner Losh ///
32*0d1ba665SWarner Losh extern EFI_BOOT_SERVICES  *gBS;
33*0d1ba665SWarner Losh 
34*0d1ba665SWarner Losh #endif
35