TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | UefiBootServicesTableLibConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
EFI_HANDLE | gImageHandle = NULL |
EFI_SYSTEM_TABLE * | gST = NULL |
EFI_BOOT_SERVICES * | gBS = NULL |
This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in library's constructor.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file UefiBootServicesTableLib.c.
EFI_STATUS EFIAPI UefiBootServicesTableLibConstructor | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The constructor function caches the pointer of Boot Services Table.
The constructor function caches the pointer of Boot Services Table through System Table. It will ASSERT() if the pointer of System Table is NULL. It will ASSERT() if the pointer of Boot Services Table is NULL. It will always return EFI_SUCCESS.
ImageHandle | The firmware allocated handle for the EFI image. |
SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The constructor always returns EFI_SUCCESS. |
Definition at line 35 of file UefiBootServicesTableLib.c.
EFI_BOOT_SERVICES* gBS = NULL |
Cache pointer to the EFI Boot Services Table
Definition at line 17 of file UefiBootServicesTableLib.c.
EFI_HANDLE gImageHandle = NULL |
Cache the Image Handle
Definition at line 15 of file UefiBootServicesTableLib.c.
EFI_SYSTEM_TABLE* gST = NULL |
Cache pointer to the EFI System Table
Definition at line 16 of file UefiBootServicesTableLib.c.