Revision: 17136
          http://sourceforge.net/p/edk2/code/17136
Author:   li-elvin
Date:     2015-04-09 08:31:42 +0000 (Thu, 09 Apr 2015)
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Core/RuntimeDxe/Runtime.c

Modified: trunk/edk2/MdeModulePkg/Core/RuntimeDxe/Runtime.c
===================================================================
--- trunk/edk2/MdeModulePkg/Core/RuntimeDxe/Runtime.c   2015-04-09 07:50:34 UTC 
(rev 17135)
+++ trunk/edk2/MdeModulePkg/Core/RuntimeDxe/Runtime.c   2015-04-09 08:31:42 UTC 
(rev 17136)
@@ -294,11 +294,6 @@
   }
 
   //
-  // 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 @@
   //
   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;
 }
 


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to