TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | DxeDebugLibConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
EFI_STATUS EFIAPI | DxeDebugLibDestructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
BOOLEAN | mPostEBS = FALSE |
EFI_BOOT_SERVICES * | mDebugBS |
UEFI Dxe DebugLib constructor that prevent some debug service after ExitBootServices event, because some pointer is nulled at that phase.
Copyright (c) 2018, Microsoft Corporation Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DebugLibConstructor.c.
EFI_STATUS EFIAPI DxeDebugLibConstructor | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The constructor gets the pointers to boot services table. And create a event to indicate it is after ExitBootServices.
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 61 of file DebugLibConstructor.c.
EFI_STATUS EFIAPI DxeDebugLibDestructor | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The destructor closes Exit Boot Services Event.
ImageHandle | The firmware allocated handle for the EFI image. |
SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The destructor always returns EFI_SUCCESS. |
Definition at line 90 of file DebugLibConstructor.c.
EFI_BOOT_SERVICES* mDebugBS |
Definition at line 27 of file DebugLibConstructor.c.
BOOLEAN mPostEBS = FALSE |
Definition at line 18 of file DebugLibConstructor.c.