mirror of https://github.com/acidanthera/audk.git
update the callback event error. The event type should be virtual-address-changed event instead of exit-boot -services event.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3728 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3b5ed1068e
commit
4506f37b81
|
@ -24,7 +24,7 @@ Revision History
|
|||
//
|
||||
// Event for Exit Boot Services Callback
|
||||
//
|
||||
STATIC EFI_EVENT mExitBootServicesEvent = NULL;
|
||||
STATIC EFI_EVENT mVirtualAddressChangedEvent = NULL;
|
||||
|
||||
|
||||
//
|
||||
|
@ -217,11 +217,11 @@ Returns:
|
|||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
Status = gBS->CreateEvent (
|
||||
EVT_SIGNAL_EXIT_BOOT_SERVICES,
|
||||
EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,
|
||||
TPL_NOTIFY,
|
||||
VariableClassAddressChangeEvent,
|
||||
NULL,
|
||||
&mExitBootServicesEvent
|
||||
&mVirtualAddressChangedEvent
|
||||
);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
|
|
Loading…
Reference in New Issue