Add call to CreateEvent() for SetVirtualAddressMap()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5311 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2008-05-29 23:07:46 +00:00
parent 2be3c94664
commit a163442495
1 changed files with 11 additions and 0 deletions

View File

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