From 40f9b6bf88061c23a8a788f41c96d05c567587c7 Mon Sep 17 00:00:00 2001 From: Missy Connell Date: Tue, 21 Feb 2012 14:30:43 -0600 Subject: Indirect Scom Error checking added Also added a patch for the action files so that I can allow the testcases to run. Change-Id: I86e39b5b8efd31ba8ea3b037470f88be68ec5818 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/702 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/include/usr/scom/scomreasoncodes.H | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'src/include/usr') diff --git a/src/include/usr/scom/scomreasoncodes.H b/src/include/usr/scom/scomreasoncodes.H index 85ba58a59..33ee7d5e5 100644 --- a/src/include/usr/scom/scomreasoncodes.H +++ b/src/include/usr/scom/scomreasoncodes.H @@ -29,11 +29,11 @@ namespace SCOM { enum scomModuleId { - MOD_INVALID = 0x00, /**< Invalid Id */ - SCOM_TRANSLATE = 0x01, /**< scomtrans.C : scomTranslate */ - SCOM_PERFORM_TRANSLATE = 0x02, /**< scomtrans.C : scomPerformTranslate */ - SCOM_FIND_PARENT_TARGET = 0x03, /**< scomtrans.C : scomfindParentTarget */ - + SCOM_PERFORM_OP = 0x00, + SCOM_TRANSLATE = 0x01, + SCOM_PERFORM_TRANSLATE = 0x02, + SCOM_FIND_PARENT_TARGET = 0x03, + SCOM_CHECK_INDIRECT_AND_DO_SCOM = 0x04, }; enum scomReasonCode @@ -41,8 +41,13 @@ namespace SCOM SCOM_INVALID_ADDR = SCOM_COMP_ID | 0x01, SCOM_NO_MATCHING_PARENT = SCOM_COMP_ID | 0x02, SCOM_TRANS_INVALID_TYPE = SCOM_COMP_ID | 0x03, - SCOM_TRANS_UNSUPPORTED_XBUS = SCOM_COMP_ID | 0x04, - SCOM_TRANS_UNSUPPORTED_ABUS = SCOM_COMP_ID | 0x05, + SCOM_TRANS_UNSUPPORTED = SCOM_COMP_ID | 0x04, + SCOM_INDIRECT_READ_FAIL = SCOM_COMP_ID | 0x05, + SCOM_INDIRECT_READ_TIMEOUT = SCOM_COMP_ID | 0x06, + SCOM_INDIRECT_WRITE_FAIL = SCOM_COMP_ID | 0x07, + SCOM_INDIRECT_WRITE_TIMEOUT = SCOM_COMP_ID | 0x08, + SCOM_TRANS_UNSUPPORTED_XBUS = SCOM_COMP_ID | 0x09, + SCOM_TRANS_UNSUPPORTED_ABUS = SCOM_COMP_ID | 0x0A, }; }; -- cgit v1.2.1