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
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
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