summaryrefslogtreecommitdiffstats
path: root/src/include/sys/msg.h
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2012-11-21 17:36:02 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-12-14 10:46:50 -0600
commit468f784bbdb2176387a4f1f9ad3f0b10d15ad918 (patch)
tree7bfe554931935f1c0fe74914d1a44f229097afe5 /src/include/sys/msg.h
parentdf8e246c1afd3c5e63a7cead8db40b7b0fc0837a (diff)
downloadtalos-hostboot-468f784bbdb2176387a4f1f9ad3f0b10d15ad918.tar.gz
talos-hostboot-468f784bbdb2176387a4f1f9ad3f0b10d15ad918.zip
Switch Interrupt Presenter to get ICPBAR value from an attribute
Change-Id: I5d95f3e3e2d803f07c7d8f3bf2d8ee522e1b4519 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2406 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/sys/msg.h')
-rw-r--r--src/include/sys/msg.h60
1 files changed, 36 insertions, 24 deletions
diff --git a/src/include/sys/msg.h b/src/include/sys/msg.h
index 129d0c36b..9fadd8b70 100644
--- a/src/include/sys/msg.h
+++ b/src/include/sys/msg.h
@@ -1,26 +1,25 @@
-/* IBM_PROLOG_BEGIN_TAG
- * This is an automatically generated prolog.
- *
- * $Source: src/include/sys/msg.h $
- *
- * IBM CONFIDENTIAL
- *
- * COPYRIGHT International Business Machines Corp. 2010-2012
- *
- * p1
- *
- * Object Code Only (OCO) source materials
- * Licensed Internal Code Source Materials
- * IBM HostBoot Licensed Internal Code
- *
- * The source code for this program is not published or other-
- * wise divested of its trade secrets, irrespective of what has
- * been deposited with the U.S. Copyright Office.
- *
- * Origin: 30
- *
- * IBM_PROLOG_END_TAG
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/sys/msg.h $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2010,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
#ifndef __SYS_MSG_H
#define __SYS_MSG_H
@@ -141,10 +140,23 @@ void msg_q_destroy( msg_q_t q );
* @param[in] q - handle of message queue to name
* @param[in] name - name
*
- * @return Result of msg_sendrecv where zero indicates success
+ * @return Result of the syscall where zero indicates success
*/
int msg_q_register(msg_q_t q, const char* name);
+/** @fn msg_intr_q_register
+ * @brief Register the interrupt message queue
+ *
+ * @param[in] q - handle of message queue to register
+ * @param[in] i_ipc_base_addr Is the base MMIO address of the
+ * IPC register set
+ *
+ * @return Result of the syscall where zero indicates success
+ * < 0 is the ERRNO
+ */
+int msg_intr_q_register(msg_q_t q,
+ uint64_t i_ipc_base_addr);
+
/** @fn msg_q_remove
* @brief Remove a message queue from the registry
*
OpenPOWER on IntegriCloud