summaryrefslogtreecommitdiffstats
path: root/src/include/usr/xscom
diff options
context:
space:
mode:
authorThi Tran <thi@us.ibm.com>2011-06-11 15:49:38 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-06-17 13:57:06 -0500
commitcdaabfdbec148d9ce85f422507c596a8ae6ced08 (patch)
treebc8edbc339263a4c4b9c71f3298ff6043af1decb /src/include/usr/xscom
parentb301c77be3ab2b9c097f2e3df47e96a907221ed9 (diff)
downloadblackbird-hostboot-cdaabfdbec148d9ce85f422507c596a8ae6ced08.tar.gz
blackbird-hostboot-cdaabfdbec148d9ce85f422507c596a8ae6ced08.zip
Initial XSCOM delivery
Change-Id: I80278bf2e03b4e6403d9a36b8782b225dba29fe3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/144 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/include/usr/xscom')
-rw-r--r--src/include/usr/xscom/xscomreasoncodes.H22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/include/usr/xscom/xscomreasoncodes.H b/src/include/usr/xscom/xscomreasoncodes.H
new file mode 100644
index 000000000..552b517e9
--- /dev/null
+++ b/src/include/usr/xscom/xscomreasoncodes.H
@@ -0,0 +1,22 @@
+#ifndef __XSCOM_REASONCODES_H
+#define __XSCOM_REASONCODES_H
+
+#include <hbotcompid.H>
+
+namespace XSCOM
+{
+ enum xscomModuleId
+ {
+ XSCOM_PERFORM_OP = 0x00,
+ XSCOM_SANITY_CHECK = 0x01,
+ };
+
+ enum xscomReasonCode
+ {
+ XSCOM_STATUS_ERR = XSCOM_COMP_ID | 0x01,
+ XSCOM_INVALID_DATA_BUFFER = XSCOM_COMP_ID | 0x02,
+ XSCOM_INVALID_OP_TYPE = XSCOM_COMP_ID | 0x03,
+ };
+};
+
+#endif
OpenPOWER on IntegriCloud