diff options
author | Andres Lugo-Reyes <aalugore@us.ibm.com> | 2016-10-24 18:02:08 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-12-20 00:22:27 -0500 |
commit | bdf8d5b8b6ab68f1882d18b1fad721f465b8aa74 (patch) | |
tree | b8b5eb683ec2c66ae89443516cc57a2d5a5fb8d5 /src/include | |
parent | c4692b79f73b6867c76d22e608c4a831d69bdb03 (diff) | |
download | talos-hostboot-bdf8d5b8b6ab68f1882d18b1fad721f465b8aa74.tar.gz talos-hostboot-bdf8d5b8b6ab68f1882d18b1fad721f465b8aa74.zip |
P9 Updates for occ communication code
This commit contains updates for p9 OCC communication
code to no longer use the deprecated
ecmdDataBufferBase class.
Change-Id: I96b6be564a6edee1f66099583f030d3b519acb60
Depends-on: I6182163e569ac97f06e3ddfbb69deab90e849de3
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31876
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/usr/occ/occAccess.H | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/include/usr/occ/occAccess.H b/src/include/usr/occ/occAccess.H index 30519a89b..a37c8111f 100644 --- a/src/include/usr/occ/occAccess.H +++ b/src/include/usr/occ/occAccess.H @@ -31,18 +31,19 @@ namespace HBOCC { - /** * @brief Read OCC SRAM * * @param[in] i_pTarget PROC or OCC target pointer * @param[in] i_addr OCI Address to be used for the operation * @param[in,out] io_dataBuf Reference to data buffer + * @param[in] i_dataLen Size of the data to read * @return errlHndl_t Error log if operation failed */ errlHndl_t readSRAM(const TARGETING::Target*i_pTarget, - const uint32_t i_addr, - ecmdDataBufferBase & io_dataBuf); + const uint32_t i_addr, + uint64_t * io_dataBuf, + size_t i_dataLen ); /** * @brief Write OCC SRAM @@ -50,11 +51,13 @@ namespace HBOCC * @param[in] i_pTarget PROC or OCC target pointer * @param[in] i_addr OCI Address to be used for the operation * @param[in] i_dataBuf Reference to data buffer + * @param[in] i_dataLen Size of the data to write * @return errlHndl_t Error log if operation failed */ errlHndl_t writeSRAM(const TARGETING::Target*i_pTarget, - const uint32_t i_addr, - ecmdDataBufferBase & io_dataBuf); + const uint32_t i_addr, + uint64_t * io_dataBuf, + size_t i_dataLen ); /** * @brief Write OCC Circular Buffer @@ -64,7 +67,7 @@ namespace HBOCC * @return errlHndl_t Error log if operation failed */ errlHndl_t writeCircularBuffer(const TARGETING::Target*i_pTarget, - ecmdDataBufferBase & i_dataBuf); + uint64_t * i_dataBuf); } //end OCC namespace |