summaryrefslogtreecommitdiffstats
path: root/src/include/usr/devicefw
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/devicefw
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/devicefw')
-rw-r--r--src/include/usr/devicefw/driverif.H7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/usr/devicefw/driverif.H b/src/include/usr/devicefw/driverif.H
index a3c5b37b6..c7f094d8a 100644
--- a/src/include/usr/devicefw/driverif.H
+++ b/src/include/usr/devicefw/driverif.H
@@ -56,6 +56,13 @@ namespace DeviceFW
WILDCARD = -1,
};
+ /** Construct the device addressing parameters for XSCOM device ops.
+ * @param[in] i_address - XSCom address to operate on.
+ */
+ #define DEVICE_XSCOM_ADDRESS(i_address) \
+ DeviceFW::XSCOM, static_cast<uint64_t>((i_address))
+
+
/** @class InvalidParameterType
* @brief Unused type to cause compiler fails for invalid template types.
*
OpenPOWER on IntegriCloud