diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c index 298d17c6a0..7ddecd0b62 100644 --- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c @@ -34,9 +34,10 @@ EFI_BOOT_SERVICES *mDebugBS; @param Context Pointer to the notification function's context. **/ +static VOID EFIAPI -ExitBootServicesCallback ( +UefiDebugLibDebugPortProtocolExitBootServicesCallback ( EFI_EVENT Event, VOID *Context ) @@ -67,7 +68,7 @@ DxeDebugLibConstructor ( mDebugBS->CreateEvent ( EVT_SIGNAL_EXIT_BOOT_SERVICES, TPL_NOTIFY, - ExitBootServicesCallback, + UefiDebugLibDebugPortProtocolExitBootServicesCallback, NULL, &mExitBootServicesEvent );