mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Put report status code at the end of RuntimeDriverSetVirtualAddressMap.
Move report status code to the end after all pointers convert and image relocation are finished. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Elvin Li <elvin.li@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17136 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
800765aa19
commit
53deb15e3a
|
@ -293,11 +293,6 @@ RuntimeDriverSetVirtualAddressMap (
|
|||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Report Status Code here since EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event was signalled.
|
||||
//
|
||||
REPORT_STATUS_CODE (EFI_PROGRESS_CODE, (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_DXE_BS_PC_VIRTUAL_ADDRESS_CHANGE_EVENT));
|
||||
|
||||
//
|
||||
// Relocate runtime images. All runtime images are stored in a list in Runtime AP.
|
||||
//
|
||||
|
@ -362,6 +357,10 @@ RuntimeDriverSetVirtualAddressMap (
|
|||
//
|
||||
mVirtualMap = NULL;
|
||||
|
||||
//
|
||||
// Report Status Code here since EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event was signalled.
|
||||
//
|
||||
REPORT_STATUS_CODE (EFI_PROGRESS_CODE, (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_DXE_BS_PC_VIRTUAL_ADDRESS_CHANGE_EVENT));
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue