diff options
-rw-r--r-- | src/usr/initservice/istepdispatcher/HBconfig | 5 | ||||
-rw-r--r-- | src/usr/initservice/istepdispatcher/istepdispatcher.C | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/usr/initservice/istepdispatcher/HBconfig b/src/usr/initservice/istepdispatcher/HBconfig new file mode 100644 index 000000000..3f0240918 --- /dev/null +++ b/src/usr/initservice/istepdispatcher/HBconfig @@ -0,0 +1,5 @@ +config CONSOLE_OUTPUT_PROGRESS + default y if CONSOLE + depends on CONSOLE + help + Display boot progress to console. diff --git a/src/usr/initservice/istepdispatcher/istepdispatcher.C b/src/usr/initservice/istepdispatcher/istepdispatcher.C index c2d3853f9..7c3393c33 100644 --- a/src/usr/initservice/istepdispatcher/istepdispatcher.C +++ b/src/usr/initservice/istepdispatcher/istepdispatcher.C @@ -62,6 +62,7 @@ #include <hwas/common/hwas.H> #include <hwas/hwasPlat.H> #include <targeting/attrPlatOverride.H> +#include <console/consoleif.H> namespace ISTEPS_TRACE { @@ -1575,6 +1576,13 @@ errlHndl_t IStepDispatcher::sendProgressCode(bool i_needsLock) errlHndl_t err = NULL; // Put in rolling bit RTC: 84794 + // If we send this multiple times, we may need to eliminate the console + // write on subsequent. RTC: 84794 + +#ifdef CONFIG_CONSOLE_OUTPUT_PROGRESS + CONSOLE::displayf(NULL, "ISTEP %2d.%2d", iv_curIStep, iv_curSubStep); + CONSOLE::flush(); +#endif msg_t * myMsg = msg_allocate(); myMsg->type = IPL_PROGRESS_CODE; |