summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Variable/EmuRuntimeDxe
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-29 23:07:46 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-29 23:07:46 +0000
commita1634424951222192f722711a0de6dbcfcb96e28 (patch)
treee3c2e2b3ded5390fe5573cdbcb8cbad8dfe0d102 /MdeModulePkg/Universal/Variable/EmuRuntimeDxe
parent2be3c946647fb53642956362db7a3fe6770d3c1f (diff)
downloadedk2-platforms-a1634424951222192f722711a0de6dbcfcb96e28.tar.xz
Add call to CreateEvent() for SetVirtualAddressMap()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5311 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Variable/EmuRuntimeDxe')
-rw-r--r--MdeModulePkg/Universal/Variable/EmuRuntimeDxe/InitVariable.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/InitVariable.c b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/InitVariable.c
index c774604215..0f9b6fdb61 100644
--- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/InitVariable.c
+++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/InitVariable.c
@@ -21,6 +21,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
extern ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal;
+EFI_EVENT mVirtualAddressChangeEvent = NULL;
+
EFI_STATUS
EFIAPI
RuntimeServiceGetVariable (
@@ -205,5 +207,14 @@ Returns:
);
ASSERT_EFI_ERROR (Status);
+ Status = gBS->CreateEvent (
+ EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,
+ TPL_NOTIFY,
+ VariableClassAddressChangeEvent,
+ NULL,
+ &mVirtualAddressChangeEvent
+ );
+ ASSERT_EFI_ERROR (Status);
+
return EFI_SUCCESS;
}