summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/RuntimeDxe
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Core/RuntimeDxe')
-rw-r--r--MdeModulePkg/Core/RuntimeDxe/Runtime.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/MdeModulePkg/Core/RuntimeDxe/Runtime.c b/MdeModulePkg/Core/RuntimeDxe/Runtime.c
index 818bacba5f..8e4c756912 100644
--- a/MdeModulePkg/Core/RuntimeDxe/Runtime.c
+++ b/MdeModulePkg/Core/RuntimeDxe/Runtime.c
@@ -294,11 +294,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.
//
for (Link = mRuntime.ImageHead.ForwardLink; Link != &mRuntime.ImageHead; Link = Link->ForwardLink) {
@@ -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;
}