]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c
MdePkg: Do not use CreateEventEx unless required
[mirror_edk2.git] / MdePkg / Library / UefiDebugLibConOut / DebugLibConstructor.c
index ed73f92818743454d702b836e6704ba646223aeb..b4ac17cf55aa2ea21f3800dad82bef422b984cf3 100644 (file)
@@ -64,12 +64,11 @@ DxeDebugLibConstructor(
 {\r
   mDebugST = SystemTable;\r
 \r
-  SystemTable->BootServices->CreateEventEx (\r
-                                EVT_NOTIFY_SIGNAL,\r
+  SystemTable->BootServices->CreateEvent (\r
+                                EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
                                 TPL_NOTIFY,\r
                                 ExitBootServicesCallback,\r
                                 NULL,\r
-                                &gEfiEventExitBootServicesGuid,\r
                                 &mExitBootServicesEvent\r
                                 );\r
 \r