]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Move call to CoreDisplayDiscoveredNotDispatched to be before the
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 24 Nov 2008 00:19:49 +0000 (00:19 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 24 Nov 2008 00:19:49 +0000 (00:19 +0000)
  ASSERT_EFI_ERROR (CoreAllEfiServicesAvailable ());
statement, since this ASSERT can force the system to hang.  Since
drivers not loading may be the reason that not all EFI services are
available, it is helpful to display the non-dispatched driver list
before using the ASSERT.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6687 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c

index 5916013a5c2fb63665575ccec1ecafa208916ef0..7b018028401ca0e27d91e13a09a23ab4ef1fc715 100644 (file)
@@ -378,6 +378,14 @@ DxeMain (
     CoreDisplayMissingArchProtocols ();\r
   DEBUG_CODE_END ();\r
 \r
+  //\r
+  // Display any drivers that were not dispatched because dependency expression\r
+  // evaluated to false if this is a debug build\r
+  //\r
+  DEBUG_CODE_BEGIN ();\r
+    CoreDisplayDiscoveredNotDispatched ();\r
+  DEBUG_CODE_END ();\r
+\r
   //\r
   // Assert if the Architectural Protocols are not present.\r
   //\r
@@ -391,14 +399,6 @@ DxeMain (
     FixedPcdGet32 (PcdStatusCodeValueDxeCoreHandoffToBds)\r
     );\r
 \r
-  //\r
-  // Display any drivers that were not dispatched because dependency expression\r
-  // evaluated to false if this is a debug build\r
-  //\r
-  DEBUG_CODE_BEGIN ();\r
-    CoreDisplayDiscoveredNotDispatched ();\r
-  DEBUG_CODE_END ();\r
-\r
   //\r
   // Transfer control to the BDS Architectural Protocol\r
   //\r