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
This commit is contained in:
jljusten 2008-11-24 00:19:49 +00:00
parent 9490351076
commit d9b834afbf
1 changed files with 8 additions and 8 deletions

View File

@ -378,6 +378,14 @@ DxeMain (
CoreDisplayMissingArchProtocols ();
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.
//
@ -391,14 +399,6 @@ DxeMain (
FixedPcdGet32 (PcdStatusCodeValueDxeCoreHandoffToBds)
);
//
// 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
//