diff options
author | Mark Wenning <wenning@us.ibm.com> | 2011-07-11 15:43:13 -0500 |
---|---|---|
committer | Mark W. Wenning <wenning@us.ibm.com> | 2011-07-25 16:50:09 -0500 |
commit | 9c0e69b8cdf3aabcd77c119c3b3425fda66706da (patch) | |
tree | 77a5b7f1c4f58da3a74048e54575a5b9a7785f34 /src/usr/initservice/extinitsvc/extinitsvc.H | |
parent | b679a1729d7aea0870544e886ddb4b03e1ecf4c4 (diff) | |
download | talos-hostboot-9c0e69b8cdf3aabcd77c119c3b3425fda66706da.tar.gz talos-hostboot-9c0e69b8cdf3aabcd77c119c3b3425fda66706da.zip |
Cleanup from previous reviews, add barrier for CxxTest
- add IStep1 for demo
- cleanup: remove inheritance, add errlog tags, etc.
- inadvertently ran copyright script, this is OK.
- more cleanup: indentation, etc.
- add barrier for CxxTests
- rename cxxtest_stub.C to cxxtest_data.C
- merge problems on gerrit
- fix review comments
Change-Id: Iee988b8595d8c6dd521fd94d4d58cb403898d948
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/207
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/initservice/extinitsvc/extinitsvc.H')
-rw-r--r-- | src/usr/initservice/extinitsvc/extinitsvc.H | 55 |
1 files changed, 26 insertions, 29 deletions
diff --git a/src/usr/initservice/extinitsvc/extinitsvc.H b/src/usr/initservice/extinitsvc/extinitsvc.H index a50b790ed..819022c9d 100644 --- a/src/usr/initservice/extinitsvc/extinitsvc.H +++ b/src/usr/initservice/extinitsvc/extinitsvc.H @@ -1,3 +1,20 @@ +/**************************************************************************** + * $IBMCopyrightBlock: + * + * IBM Confidential + * + * Licensed Internal Code Source Materials + * + * IBM HostBoot Licensed Internal Code + * + * (C) Copyright IBM Corp. 2011 + * + * The source code for this program is not published or other- + * wise divested of its trade secrets, irrespective of what has + * been deposited with the U.S. Copyright Office. + * $ +****************************************************************************/ + #ifndef __EXTINITSVC_EXTINITSVC_H #define __EXTINITSVC_EXTINITSVC_H /** @@ -33,6 +50,7 @@ namespace INITSERVICE /******************************************************************************/ // Typedef/Enumerations /******************************************************************************/ + /** * @enum ShutdownStatus */ @@ -43,21 +61,18 @@ enum ShutdownStatus SHUTDOWN_STATUS_ISTEP_FAILED = 0x01230002, }; + /******************************************************************************/ // ExtInitSvc Class /******************************************************************************/ -// Singleton definition -class ExtInitSvc; -typedef Singleton<ExtInitSvc> theExtInitSvc; - /** * @class ExtInitSvc Singleton Class * * This extended image module is launched by InitService * */ -class ExtInitSvc : public InitService +class ExtInitSvc { public: @@ -82,28 +97,6 @@ public: void init( void *i_args); - /** - * @todo ExtInitSvcTest should be able to find protected functions. - */ - // $$protected: - - /** - * @brief start a extended image task. - * - * @param[in] i_ptask pointer to a TaskInfo struct - * @param[in] i_pargs pointer to args struct - * @param[inout] i_rerrl reference to an errorlog handle. - * errorlog will be filled out if error, - * otherwise untouched. - * - * @return NULL if success, errorlog handle for failure - * - */ - errlHndl_t startTask( const TaskInfo *i_ptask, - TaskArgs::TaskArgs *i_pargs, - errlHndl_t &i_rerrl ) const; - - protected: /** * @brief Constructor for the InitService object. @@ -118,11 +111,15 @@ protected: private: - + /** + * @note Disable copy constructor and assignment operator + */ + ExtInitSvc(const ExtInitSvc& i_right); + ExtInitSvc& operator=(const ExtInitSvc& i_right); }; // class ExtInitSvc -} // namespace EXTINITSVC +} // namespace #endif |