]> git.proxmox.com Git - mirror_edk2.git/commitdiff
use the GUIDed versions of events listed in all of our module/lib implementations...
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 3 Feb 2009 08:50:03 +0000 (08:50 +0000)
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 3 Feb 2009 08:50:03 +0000 (08:50 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7418 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
MdePkg/Library/UefiRuntimeLib/RuntimeLibInternal.h
MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf

index 3205d57bc0eac286829d92e387d92e6286dbeefe..707ec5d050ad30f036efb4d7e1e7c63db054ef00 100644 (file)
@@ -94,21 +94,23 @@ RuntimeDriverLibConstruct (
   //\r
   // Register SetVirtualAddressMap () notify function\r
   //\r
-  Status = gBS->CreateEvent (\r
-                  EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,\r
+  Status = gBS->CreateEventEx (\r
+                  EVT_NOTIFY_SIGNAL,\r
                   TPL_NOTIFY,\r
                   RuntimeLibVirtualNotifyEvent,\r
                   NULL,\r
+                  &gEfiEventVirtualAddressChangeGuid,\r
                   &mEfiVirtualNotifyEvent\r
                   );\r
 \r
   ASSERT_EFI_ERROR (Status);\r
 \r
-  Status = gBS->CreateEvent (\r
-                  EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
+  Status = gBS->CreateEventEx (\r
+                  EVT_NOTIFY_SIGNAL,\r
                   TPL_NOTIFY,\r
                   RuntimeLibExitBootServicesEvent,\r
                   NULL,\r
+                  &gEfiEventExitBootServicesGuid,\r
                   &mEfiExitBootServicesEvent\r
                   );\r
 \r
index 1e3ab9435ab75310fe4093b8cc9ed1d98fbcd514..3d62dd81b85501dad7c95d8cdec93d1896cfe962 100644 (file)
@@ -20,7 +20,7 @@
 #include <Library/DebugLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/UefiRuntimeServicesTableLib.h>\r
-\r
+#include <Guid/EventGroup.h>\r
 extern EFI_RUNTIME_SERVICES   *mRT;\r
 \r
 #endif \r
index 2cd6d1b5bffe86c4006f168f43a9495b1c156c02..3b3247d87ec282d1a62d3305118e774e42b9ad39 100644 (file)
@@ -45,5 +45,8 @@
   UefiBootServicesTableLib\r
   UefiRuntimeServicesTableLib\r
   DebugLib\r
-\r
\r
+[Guids]\r
+  gEfiEventExitBootServicesGuid             ## PRODUCES ## Event\r
+  gEfiEventVirtualAddressChangeGuid         ## PRODUCES ## Event\r
 \r