summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiDebugLibDebugPortProtocol
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/UefiDebugLibDebugPortProtocol')
-rw-r--r--MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c5
-rw-r--r--MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf3
2 files changed, 2 insertions, 6 deletions
diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c
index 6ea0912..96fc1c4 100644
--- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c
+++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c
@@ -64,12 +64,11 @@ DxeDebugLibConstructor(
{
mDebugBS = SystemTable->BootServices;
- mDebugBS->CreateEventEx (
- EVT_NOTIFY_SIGNAL,
+ mDebugBS->CreateEvent (
+ EVT_SIGNAL_EXIT_BOOT_SERVICES,
TPL_NOTIFY,
ExitBootServicesCallback,
NULL,
- &gEfiEventExitBootServicesGuid,
&mExitBootServicesEvent
);
diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf b/MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf
index ff09a12..e12a102 100644
--- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf
+++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf
@@ -46,9 +46,6 @@
PrintLib
DebugPrintErrorLevelLib
-[Guids]
- gEfiEventExitBootServicesGuid ## CONSUMES
-
[Protocols]
gEfiDebugPortProtocolGuid ## CONSUMES