summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c b/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c
index c8c7d1197e..5482fd98a0 100644
--- a/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c
+++ b/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c
@@ -958,11 +958,12 @@ WinNtGopStartWindow (
//
// Register to be notified on exit boot services so we can destroy the window.
//
- Status = gBS->CreateEvent (
- EVT_SIGNAL_EXIT_BOOT_SERVICES,
+ Status = gBS->CreateEventEx (
+ EVT_NOTIFY_SIGNAL,
TPL_CALLBACK,
KillNtGopThread,
Private,
+ &gEfiEventExitBootServicesGuid,
&mGopScreenExitBootServicesEvent
);