diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-29 01:40:32 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-29 01:40:32 +0000 |
commit | 4506f37b812db1fb40621d2b0fb5403e40503878 (patch) | |
tree | 63e5f3efe20192f4095fc6d3770ceefe7842b636 | |
parent | 3b5ed1068e7cbe7830fc544bdac5de1459895004 (diff) | |
download | edk2-platforms-4506f37b812db1fb40621d2b0fb5403e40503878.tar.xz |
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
-rw-r--r-- | MdeModulePkg/Universal/Variable/RuntimeDxe/InitVariable.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/InitVariable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/InitVariable.c index 59403e91e7..3f1cb8e1df 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/InitVariable.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/InitVariable.c @@ -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);
|