summaryrefslogtreecommitdiffstats
path: root/src/usr/cxxtest
diff options
context:
space:
mode:
authorMark Wenning <wenning@us.ibm.com>2011-11-07 11:53:10 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-11-16 11:49:13 -0600
commit1e3a888edab060be5b016aff86a5d547b5be6643 (patch)
tree58c80102de769ab705ba0cfd85ee5efd7ec48fa2 /src/usr/cxxtest
parentb5e455d063830a51f8282b5c0e857d14dedbaad3 (diff)
downloadtalos-hostboot-1e3a888edab060be5b016aff86a5d547b5be6643.tar.gz
talos-hostboot-1e3a888edab060be5b016aff86a5d547b5be6643.zip
RTC4319: Shutdown if IStep fails
- add macro to report error to testHWP.C - new TASKARGS macros (prepare for join change) - istep dispatcher, extinitsvc and initsvc now call shutdown() - pass error codes to parent task - fix errorlog tags, see RTC3840 - added ErrlUserDetails module, mostly for debug - review fixes Change-Id: Ib5009f1bf0f7657d4da5bd6d1ecf64e6113b3383 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/486 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/cxxtest')
-rw-r--r--src/usr/cxxtest/cxxtestexec.C8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/cxxtest/cxxtestexec.C b/src/usr/cxxtest/cxxtestexec.C
index 0c5a633e5..82e387152 100644
--- a/src/usr/cxxtest/cxxtestexec.C
+++ b/src/usr/cxxtest/cxxtestexec.C
@@ -67,7 +67,8 @@ void _start(void *io_pArgs)
errlHndl_t l_errl = NULL;
std::vector<const char *> module_list;
tid_t tidrc = 0;
- TASKARGS_INIT_TASKARGS( io_pArgs );
+ INITSERVICE::TaskArgs *pTaskArgs =
+ static_cast<INITSERVICE::TaskArgs *>( io_pArgs );
// output a blank line so that it's easier to find the beginning of
@@ -142,6 +143,7 @@ void _start(void *io_pArgs)
// dump out an informational errorlog
assert(l_errl == NULL);
-
- TASKARGS_WAIT_AND_ENDTASK();
+ // wait here on the barrier, then end the task.
+ pTaskArgs->waitChildSync();
+ task_end();
}
OpenPOWER on IntegriCloud