diff options
author | Missy Connell <missyc@us.ibm.com> | 2012-02-21 14:30:43 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-03-27 16:16:12 -0500 |
commit | 40f9b6bf88061c23a8a788f41c96d05c567587c7 (patch) | |
tree | ca8b8a767a3a73061df45b8cb50c7742bd0fc4c5 /src/usr/scom/scom.H | |
parent | 64a9a50f5582133148c7960adae83021e1c23d8c (diff) | |
download | talos-hostboot-40f9b6bf88061c23a8a788f41c96d05c567587c7.tar.gz talos-hostboot-40f9b6bf88061c23a8a788f41c96d05c567587c7.zip |
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 <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/scom/scom.H')
-rw-r--r-- | src/usr/scom/scom.H | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usr/scom/scom.H b/src/usr/scom/scom.H index d4b76a165..778faab13 100644 --- a/src/usr/scom/scom.H +++ b/src/usr/scom/scom.H @@ -31,8 +31,20 @@ namespace SCOM { + enum ScomErrorMask + { + SCOM_IND_COMPLETE_MASK = 0x0000000080000000, + // this mask if for bit 37-39 for a read/write + SCOM_IND_ERROR_MASK = 0x000000007000000, + }; + enum ScomValidMask + { + SCOM_IND_WRITE_SUCCESS_MASK = 0x000000002000000, + SCOM_IND_READ_SUCCESS_MASK = 0x000000003000000, + }; + /** * @brief Performs a SCom operation * This function performs a SCOM operation by calling |