From 5d8674f2bdd536124b1dd026dfa729a1376b3cac Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 30 Nov 2024 12:36:15 -0700 Subject: Import edk2 edk2-stable202411 (hash 0f3867fa6ef0553e26c42f7d71ff6bdb98429742) Bring in the latest stable branch for updated defines (especailly Loongson). Remove ^M as described in sys/contrib/edk2/FREEBSD-upgrade. Not the absolute latest, but aligned to the edk2-stable202411 tag. Sponsored by: Netflix --- .../UefiDebugLibStdErr/DebugLibConstructor.c | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c') 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) { -- cgit v1.3