]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c
MdePkg: Do not use CreateEventEx unless required
[mirror_edk2.git] / MdePkg / Library / DxeRuntimeDebugLibSerialPort / DebugLib.c
index 862c6bff09fe6ccdc860ffd109e66fc6ce8456b0..cc79843b1cdad088d20422af25ef4ab737a4a744 100644 (file)
@@ -77,9 +77,8 @@ DxeRuntimeDebugLibSerialPortConstructor (
     return Status;\r
   }\r
 \r
-  return SystemTable->BootServices->CreateEventEx (EVT_NOTIFY_SIGNAL,\r
+  return SystemTable->BootServices->CreateEvent (EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
                                       TPL_NOTIFY, ExitBootServicesEvent, NULL,\r
-                                      &gEfiEventExitBootServicesGuid,\r
                                       &mEfiExitBootServicesEvent);\r
 }\r
 \r