summaryrefslogtreecommitdiffstats
path: root/sbe/sbefw/sbeHostUtils.H
diff options
context:
space:
mode:
Diffstat (limited to 'sbe/sbefw/sbeHostUtils.H')
-rw-r--r--sbe/sbefw/sbeHostUtils.H31
1 files changed, 30 insertions, 1 deletions
diff --git a/sbe/sbefw/sbeHostUtils.H b/sbe/sbefw/sbeHostUtils.H
index d8324233..c172e4e9 100644
--- a/sbe/sbefw/sbeHostUtils.H
+++ b/sbe/sbefw/sbeHostUtils.H
@@ -1,3 +1,27 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: sbe/sbefw/sbeHostUtils.H $ */
+/* */
+/* OpenPOWER sbe Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2016 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* Licensed under the Apache License, Version 2.0 (the "License"); */
+/* you may not use this file except in compliance with the License. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
/*
* @file: ppe/sbe/sbefw/sbeHostUtils.H
*
@@ -109,6 +133,10 @@ inline uint32_t sbeReadPsu2SbeDbReg (uint64_t *o_data)
* Starting Mbx Register Address
* @param[in] i_count
* Number of Mbx registers to be read.
+ * @param[in] i_isFinalRead
+ * Indicates if its a final read operation for this chip op and
+ * internally handle the ack
+ * By default it is false.
* @param[out] o_pData
* Contents of the Mbx registers read into the buffer
* @return Return Code
@@ -116,7 +144,8 @@ inline uint32_t sbeReadPsu2SbeDbReg (uint64_t *o_data)
*/
uint32_t sbeReadPsu2SbeMbxReg (uint32_t i_addr,
const uint8_t i_count,
- uint64_t *o_pData);
+ uint64_t *o_pData,
+ bool i_isFinalRead = false);
/*****************************************************************/
/** SBE->PSU register access utilities **/
OpenPOWER on IntegriCloud