summaryrefslogtreecommitdiffstats
path: root/src/usr/initservice/extinitsvc/extinitsvc.C
diff options
context:
space:
mode:
authorMark Wenning <wenning@us.ibm.com>2012-03-06 17:18:17 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-03-13 15:48:09 -0500
commit45a4f6fd8245b4c41c8f2fcd8c424acf6ebda8be (patch)
tree7935800c7fc6f164e1429dd5e65e65aa61ed190d /src/usr/initservice/extinitsvc/extinitsvc.C
parent2caae71c74b5f93da06ddf52cfdb5e2c670c73fb (diff)
downloadtalos-hostboot-45a4f6fd8245b4c41c8f2fcd8c424acf6ebda8be.tar.gz
talos-hostboot-45a4f6fd8245b4c41c8f2fcd8c424acf6ebda8be.zip
Add status printk's to Initialization service tasks
- branch add_printks Change-Id: I7bebb7da8d3774df6dab655a567f863757cb2198 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/726 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/initservice/extinitsvc/extinitsvc.C')
-rw-r--r--src/usr/initservice/extinitsvc/extinitsvc.C20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/usr/initservice/extinitsvc/extinitsvc.C b/src/usr/initservice/extinitsvc/extinitsvc.C
index 9e6402ff1..2db1c44b6 100644
--- a/src/usr/initservice/extinitsvc/extinitsvc.C
+++ b/src/usr/initservice/extinitsvc/extinitsvc.C
@@ -29,7 +29,8 @@
*
*/
-#include <kernel/console.H>
+#include <kernel/console.H> // printk status
+
#include <vfs/vfs.H>
#include <sys/task.h>
#include <sys/sync.h>
@@ -68,8 +69,12 @@ void ExtInitSvc::init( void *io_ptr )
INITSERVICE::TaskArgs *pTaskArgs =
static_cast<INITSERVICE::TaskArgs *>( io_ptr );
+ printk( "ExtInitSvc entry.\n" );
+
TRACFCOMP( g_trac_initsvc,
- "Extended Initialization Service is starting." );
+ "Extended Initialization Service is starting %p.", io_ptr );
+
+
// ----------------------------------------------------------------
// loop through the task list and start up any tasks necessary
@@ -196,6 +201,8 @@ void ExtInitSvc::init( void *io_ptr )
*
*/
+ printk( "start CxxTest.\n" );
+
// add a do-while loop so there is only one return at the bottom....
do
{
@@ -279,12 +286,15 @@ void ExtInitSvc::init( void *io_ptr )
} while(0); // end do-while
+ printk( "finish CxxTest.\n" );
+
}
// =====================================================================
// ----- Shutdown all CPUs -----------------------------------------
// =====================================================================
+
TRACFCOMP( g_trac_initsvc,
EXIT_MRK "CxxTests finished.");
@@ -298,8 +308,10 @@ void ExtInitSvc::init( void *io_ptr )
//Tell initservice to perform shutdown sequence
InitService::getTheInstance().doShutdown(l_shutdownStatus);
- // return to _start(), which may end the task or die.
- return;
+ printk( "ExtInitSvc exit.\n" );
+
+
+ // return to _start()
}
OpenPOWER on IntegriCloud