summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-11-30 19:36:15 +0000
committerWarner Losh <imp@FreeBSD.org>2024-11-30 19:38:23 +0000
commit5d8674f2bdd536124b1dd026dfa729a1376b3cac (patch)
treeade665e8d0ce42d3068d4b00dae9171f47f3cd06 /MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c
parent4a14dfcc1110b35118d5be8054fecf59ffb83032 (diff)
Diffstat (limited to 'MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c')
-rw-r--r--MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c b/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c
index 5d60613c60e2..f70abb1e8717 100644
--- a/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c
+++ b/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c
@@ -15,16 +15,16 @@
//
// BOOLEAN value to indicate if it is at the post ExitBootServices pahse
//
-BOOLEAN mPostEBS = FALSE;
+BOOLEAN mPostEBS = FALSE;
-static EFI_EVENT mExitBootServicesEvent;
+static EFI_EVENT mExitBootServicesEvent;
//
// Pointer to SystemTable
// This library instance may have a cycle consume with UefiBootServicesTableLib
// because of the constructors.
//
-EFI_SYSTEM_TABLE *mDebugST;
+EFI_SYSTEM_TABLE *mDebugST;
/**
This routine sets the mPostEBS for exit boot servies true
@@ -37,8 +37,8 @@ EFI_SYSTEM_TABLE *mDebugST;
VOID
EFIAPI
ExitBootServicesCallback (
- EFI_EVENT Event,
- VOID* Context
+ EFI_EVENT Event,
+ VOID *Context
)
{
mPostEBS = TRUE;
@@ -57,20 +57,20 @@ ExitBootServicesCallback (
**/
EFI_STATUS
EFIAPI
-DxeDebugLibConstructor(
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
+DxeDebugLibConstructor (
+ IN EFI_HANDLE ImageHandle,
+ IN EFI_SYSTEM_TABLE *SystemTable
)
{
mDebugST = SystemTable;
SystemTable->BootServices->CreateEvent (
- EVT_SIGNAL_EXIT_BOOT_SERVICES,
- TPL_NOTIFY,
- ExitBootServicesCallback,
- NULL,
- &mExitBootServicesEvent
- );
+ EVT_SIGNAL_EXIT_BOOT_SERVICES,
+ TPL_NOTIFY,
+ ExitBootServicesCallback,
+ NULL,
+ &mExitBootServicesEvent
+ );
return EFI_SUCCESS;
}
@@ -86,9 +86,9 @@ DxeDebugLibConstructor(
**/
EFI_STATUS
EFIAPI
-DxeDebugLibDestructor(
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
+DxeDebugLibDestructor (
+ IN EFI_HANDLE ImageHandle,
+ IN EFI_SYSTEM_TABLE *SystemTable
)
{
if (mExitBootServicesEvent != NULL) {