mirror of https://github.com/acidanthera/audk.git
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:
parent
9490351076
commit
d9b834afbf
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue