summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-24 00:19:49 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-24 00:19:49 +0000
commitd9b834afbf67ad45b5cbf339e957efe441978218 (patch)
treecd30bc58124a3262809a19dc424d8b4ba02ae118 /MdeModulePkg
parent9490351076d0e95f46aa177e7643fceb953bbcb8 (diff)
downloadedk2-platforms-d9b834afbf67ad45b5cbf339e957efe441978218.tar.xz
Move call to CoreDisplayDiscoveredNotDispatched to be before the
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
index 5916013a5c..7b01802840 100644
--- a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
+++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
@@ -379,6 +379,14 @@ DxeMain (
DEBUG_CODE_END ();
//
+ // Display any drivers that were not dispatched because dependency expression
+ // evaluated to false if this is a debug build
+ //
+ DEBUG_CODE_BEGIN ();
+ CoreDisplayDiscoveredNotDispatched ();
+ DEBUG_CODE_END ();
+
+ //
// Assert if the Architectural Protocols are not present.
//
ASSERT_EFI_ERROR (CoreAllEfiServicesAvailable ());
@@ -392,14 +400,6 @@ DxeMain (
);
//
- // Display any drivers that were not dispatched because dependency expression
- // evaluated to false if this is a debug build
- //
- DEBUG_CODE_BEGIN ();
- CoreDisplayDiscoveredNotDispatched ();
- DEBUG_CODE_END ();
-
- //
// Transfer control to the BDS Architectural Protocol
//
gBds->Entry (gBds);