summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-03 08:50:03 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-03 08:50:03 +0000
commit57a31578d374da211893541d236890850529e478 (patch)
treeb84d130d6c1c617a04150eeaa9959087991800b6 /MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
parent6e4bac4dac892c8e041f8f89e1948ea43151a0a4 (diff)
downloadedk2-platforms-57a31578d374da211893541d236890850529e478.tar.xz
use the GUIDed versions of events listed in all of our module/lib implementations: EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE and EVT_SIGNAL_EXIT_BOOT_SERVICES
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7418 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiRuntimeLib/RuntimeLib.c')
-rw-r--r--MdePkg/Library/UefiRuntimeLib/RuntimeLib.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c b/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
index 3205d57bc0..707ec5d050 100644
--- a/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
+++ b/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
@@ -94,21 +94,23 @@ RuntimeDriverLibConstruct (
//
// Register SetVirtualAddressMap () notify function
//
- Status = gBS->CreateEvent (
- EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,
+ Status = gBS->CreateEventEx (
+ EVT_NOTIFY_SIGNAL,
TPL_NOTIFY,
RuntimeLibVirtualNotifyEvent,
NULL,
+ &gEfiEventVirtualAddressChangeGuid,
&mEfiVirtualNotifyEvent
);
ASSERT_EFI_ERROR (Status);
- Status = gBS->CreateEvent (
- EVT_SIGNAL_EXIT_BOOT_SERVICES,
+ Status = gBS->CreateEventEx (
+ EVT_NOTIFY_SIGNAL,
TPL_NOTIFY,
RuntimeLibExitBootServicesEvent,
NULL,
+ &gEfiEventExitBootServicesGuid,
&mEfiExitBootServicesEvent
);