]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OldMdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
[mirror_edk2.git] / OldMdePkg / Library / UefiDriverEntryPoint / DriverEntryPoint.c
index 9ec19e3f4af1d0bc00fb0f95078cd782d5270966..5e1a3550606b3519f0e9643c0940f76749fef5f5 100644 (file)
@@ -64,7 +64,7 @@ _DriverUnloadHandler (
 \r
 \r
 /**\r
-  Notification Entry of ExitBootService event. In the entry, all notifications in _gDriverExitBootServicesEvent[] \r
+  Notification Entry of ExitBootService event. In the entry, all notifications in _gDriverExitBootServicesEvent[]\r
   would be invoked.\r
 \r
   @param Event   The Event that is being processed.\r
@@ -127,8 +127,8 @@ _ModuleEntryPoint (
   //\r
   if (_gDriverExitBootServicesEvent[0] != NULL) {\r
     Status = gBS->CreateEvent (\r
-                    EFI_EVENT_SIGNAL_EXIT_BOOT_SERVICES,\r
-                    EFI_TPL_NOTIFY,\r
+                    EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
+                    TPL_NOTIFY,\r
                     _DriverExitBootServices,\r
                     NULL,\r
                     &_mDriverExitBootServicesNotifyEvent\r