diff options
Diffstat (limited to 'roms/edk2/MdePkg/Include/Library/UefiBootServicesTableLib.h')
-rw-r--r-- | roms/edk2/MdePkg/Include/Library/UefiBootServicesTableLib.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/roms/edk2/MdePkg/Include/Library/UefiBootServicesTableLib.h b/roms/edk2/MdePkg/Include/Library/UefiBootServicesTableLib.h new file mode 100644 index 000000000..4fe5a9eb5 --- /dev/null +++ b/roms/edk2/MdePkg/Include/Library/UefiBootServicesTableLib.h @@ -0,0 +1,28 @@ +/** @file
+ Provides a service to retrieve a pointer to the EFI Boot Services Table.
+ Only available to DXE and UEFI module types.
+
+Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef __UEFI_BOOT_SERVICES_TABLE_LIB_H__
+#define __UEFI_BOOT_SERVICES_TABLE_LIB_H__
+
+///
+/// Cache the Image Handle
+///
+extern EFI_HANDLE gImageHandle;
+
+///
+/// Cache pointer to the EFI System Table
+///
+extern EFI_SYSTEM_TABLE *gST;
+
+///
+/// Cache pointer to the EFI Boot Services Table
+///
+extern EFI_BOOT_SERVICES *gBS;
+
+#endif
|