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
This commit is contained in:
jji4 2009-02-03 08:50:03 +00:00
parent 6e4bac4dac
commit 57a31578d3
3 changed files with 11 additions and 6 deletions

View File

@ -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
);

View File

@ -20,7 +20,7 @@
#include <Library/DebugLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Guid/EventGroup.h>
extern EFI_RUNTIME_SERVICES *mRT;
#endif

View File

@ -45,5 +45,8 @@
UefiBootServicesTableLib
UefiRuntimeServicesTableLib
DebugLib
[Guids]
gEfiEventExitBootServicesGuid ## PRODUCES ## Event
gEfiEventVirtualAddressChangeGuid ## PRODUCES ## Event