Skip to content

Commit

Permalink
TOD porting/migrating from FSP to P9
Browse files Browse the repository at this point in the history
RTC: 149253
Change-Id: Id9325ca0fd1b59c21a46a5af495cd944753ab27d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35362
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
Dzuy Nguyen authored and dcrowell77 committed Mar 29, 2017
1 parent 10dc1a3 commit 5916e97
Show file tree
Hide file tree
Showing 24 changed files with 4,315 additions and 2,021 deletions.
31 changes: 30 additions & 1 deletion src/include/usr/isteps/tod_init_reasoncodes.H
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2016 */
/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -51,6 +51,18 @@ namespace TOD
TOD_WIRE_PROCS = 0x10,
TOD_WIRE_DRAWERS = 0x11,
TOD_INIT_HWP = 0x12,
TOD_INIT_ALREADY_RUNNING = 0x13,
TOD_RESET_BACKUP = 0x14,
TOD_MDMT_TOPOLOGY = 0x15,
TOD_BUILD_BLACKLIST = 0x16,
TOD_ENDPOINT_CALLOUT = 0x17,
TOD_STEP_CHECK_RESET_HWP = 0x18,
TOD_FUNCTIONAL_TARGET = 0x19,
TOD_UTIL_HNDL_ECMD_BUF_RC = 0x1A,
TOD_CONTROLS_GET_TARGET = 0x1B,
TOD_UTIL_MOD_GET_PARENT = 0x1C,
TOD_MOD_LOG_UNSUPPORTED_BUSTYPE = 0x1D,
TOD_IS_MPIPL = 0x1E,
};

enum TODReasonCode
Expand All @@ -70,6 +82,23 @@ namespace TOD
TOD_CREATION_ERR = TOD_COMP_ID | 0x0D,
TOD_CREATION_ERR_NO_DRAWER = TOD_COMP_ID | 0x0E,
TOD_CANNOT_WIRE_DRAWER = TOD_COMP_ID | 0x0F,
TOD_INVALID_PARAM = TOD_COMP_ID | 0x11,
TOD_MASTER_TARGET_NOT_FOUND = TOD_COMP_ID | 0x12,
TOD_NO_VALID_MDMT_FOUND = TOD_COMP_ID | 0x13,
TOD_NO_MDMT_ON_ACTIVE_CONFIG = TOD_COMP_ID | 0x14,
TOD_MASTER_PATH_ERROR = TOD_COMP_ID | 0x15,
TOD_HWP_EXECUTION_FAILED = TOD_COMP_ID | 0x16,
TOD_PARENT_NOT_FOUND = TOD_COMP_ID | 0x17,
TOD_DRAWER_SET_MDMT = TOD_COMP_ID | 0x18,
TOD_TOP_LEVEL_TARGET_NOT_FOUND = TOD_COMP_ID | 0x19,
};

enum TODUserDetailDataSubSection
{
EMOD_TOD_SET_ACTIVE_MDMT = 0x01,
EMOD_TOD_INIT_HWP = 0x02,
EMOD_TOD_INIT = 0x03,
EMOD_CALLOUT_TOD_ENDPOINT = 0x04,
};

};
Expand Down
5 changes: 2 additions & 3 deletions src/usr/isteps/istep18/TodAssert.H
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2016 */
/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -52,9 +52,8 @@ namespace TOD
* @param[in] expr,...
* Printf-like expression to act as the assert message
*/
#define TOD_ASSERT(expr,...) \
#define TOD_ERR_ASSERT(expr,...) \
assert(expr,__VA_ARGS__)

}

#endif

0 comments on commit 5916e97

Please sign in to comment.