diff options
author | Brian Bakke <bbakke@us.ibm.com> | 2017-08-16 15:56:02 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-09-19 16:59:00 -0400 |
commit | 046a2655125fa0b4efdafa460d7f60ac0719d669 (patch) | |
tree | f9efe4763e8d94c1270e5175b05d7ff86152509a /src/include/usr/mbox | |
parent | 88342b08a1281b0244ba6cff72d64679319589a4 (diff) | |
download | talos-hostboot-046a2655125fa0b4efdafa460d7f60ac0719d669.tar.gz talos-hostboot-046a2655125fa0b4efdafa460d7f60ac0719d669.zip |
Send "recollect dma buffers" message in TI path
Change-Id: Ice352f333cc3cfca7393b335414958612834b3c8
RTC:170428
CQ:SW359697
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44706
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/mbox')
-rw-r--r-- | src/include/usr/mbox/mboxif.H | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/include/usr/mbox/mboxif.H b/src/include/usr/mbox/mboxif.H index 497a22893..ae753429a 100644 --- a/src/include/usr/mbox/mboxif.H +++ b/src/include/usr/mbox/mboxif.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -59,7 +59,7 @@ namespace MBOX * Send message asynchronously * @param[in] i_q_id id, of the FSP message queue to send the msg to. * @param[in] i_msg. The message to send. - * @param[in] i_node The destination node [0-7] for IPC messages, + * @param[in] i_node The destination node [0-7] for IPC messages, * otherwise the default is FSP * * @return errlHndl_t on error. @@ -71,8 +71,8 @@ namespace MBOX * @pre For FSP mbox messages, i_msg->extra_data must be NULL If there is * no payload associated with the message. * - * @pre For FSP mbox messages, - * i_msg->extra_data = malloc(size); i_msg->data[1] = size; + * @pre For FSP mbox messages, + * i_msg->extra_data = malloc(size); i_msg->data[1] = size; * Any extra data associated with i_msg was obtained from the heap * using malloc and i_msg->data[1] contains the length of that data. * @@ -93,7 +93,7 @@ namespace MBOX * @pre io_msg->extra_data == NULL If there is no extra data is associated * with the message. * - * @pre io_msg->extra_data = malloc(size); io_msg->data[1] = size; + * @pre io_msg->extra_data = malloc(size); io_msg->data[1] = size; * Any extra data associated with io_msg was obtained from the heap * using malloc and io_msg->data[1] contains the length of that data. * @@ -114,7 +114,7 @@ namespace MBOX bool mailbox_enabled(); /** - * Suspend the mailbox. + * Suspend the mailbox. * * @param[in] i_disable_hw_int, disable interrupts from hw along * with SW suspend. Defaults to SW suspend only @@ -162,6 +162,12 @@ namespace MBOX */ void deallocate(void * i_ptr); + /** + * Reclaim any DMA buffers owned by the FSP + * @return errlHndl_t on error + */ + errlHndl_t reclaimDmaBfrsFromFsp( void ); + }; // end namespace MBOX #endif |