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