summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hbotcompid.H8
-rw-r--r--src/include/usr/mbox/ipc_msg_types.H39
-rw-r--r--src/include/usr/mbox/ipc_reasoncodes.H42
-rw-r--r--src/include/usr/mbox/mbox_queues.H2
-rw-r--r--src/include/usr/runtime/runtime.H7
5 files changed, 98 insertions, 0 deletions
diff --git a/src/include/usr/hbotcompid.H b/src/include/usr/hbotcompid.H
index 382cbd685..0484715f1 100644
--- a/src/include/usr/hbotcompid.H
+++ b/src/include/usr/hbotcompid.H
@@ -283,6 +283,14 @@ const compId_t SECURE_COMP_ID = 0x1E00;
const char SECURE_COMP_NAME[] = "secure";
//@}
+/** @name IPC
+ * IPC - Inter Processor Communication component
+ */
+//@{
+const compId_t IPC_COMP_ID = 0x1F00;
+const char IPC_COMP_NAME[] = "ipc";
+//@}
+
/** @name HSVC
* Host Services component
diff --git a/src/include/usr/mbox/ipc_msg_types.H b/src/include/usr/mbox/ipc_msg_types.H
new file mode 100644
index 000000000..306e93d39
--- /dev/null
+++ b/src/include/usr/mbox/ipc_msg_types.H
@@ -0,0 +1,39 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/mbox/ipc_msg_types.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2013 */
+/* */
+/* 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 */
+#if !defined(__IPC_MSG_TYPES_H)
+#define __IPC_MSG_TYPES_H
+
+#include <mbox/mbox_queues.H>
+
+namespace IPC
+{
+ /**
+ * IPC message types
+ */
+ enum ipc_msg_type_t
+ {
+ IPC_POPULATE_ATTRIBUTES = MBOX::FIRST_SECURE_MSG + 1,
+ };
+
+}; // namespace IPC
+#endif
diff --git a/src/include/usr/mbox/ipc_reasoncodes.H b/src/include/usr/mbox/ipc_reasoncodes.H
new file mode 100644
index 000000000..1758653e3
--- /dev/null
+++ b/src/include/usr/mbox/ipc_reasoncodes.H
@@ -0,0 +1,42 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/mbox/ipc_reasoncodes.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2013 */
+/* */
+/* 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 __IPC_REASONCODES_H
+#define __IPC_REASONCODES_H
+
+#include <hbotcompid.H>
+
+namespace IPC
+{
+ enum IPCModuleId
+ {
+ MOD_IPCSP_MSGHDLR = 0x01, //IpcSp::msgHandler
+ };
+
+ enum IPCReasonCode
+ {
+ RC_INVALID_MSG_TYPE = IPC_COMP_ID | 0x01,
+ };
+
+};
+#endif
+
diff --git a/src/include/usr/mbox/mbox_queues.H b/src/include/usr/mbox/mbox_queues.H
index e662b22c3..3ba4e636f 100644
--- a/src/include/usr/mbox/mbox_queues.H
+++ b/src/include/usr/mbox/mbox_queues.H
@@ -48,6 +48,8 @@ namespace MBOX
HB_HWPF_ATTR_MSGQ = 6, // HWPF Attribute override/sync
HB_TRACE_MSGQ = 7,
HB_LID_MSGQ = 8, //For transferring LIDs from FSP.
+ HB_IPC_MSGQ = 9, //For inter-drawer HB messages
+ HB_POP_ATTR_MSGQ = 10, // populate Attribute response
// Add HB mbox msg queue ids (services) before this line
HB_LAST_VALID_MSGQ, // end of valid HB mbox msgQ ids
diff --git a/src/include/usr/runtime/runtime.H b/src/include/usr/runtime/runtime.H
index 739f2f18d..a72937cbe 100644
--- a/src/include/usr/runtime/runtime.H
+++ b/src/include/usr/runtime/runtime.H
@@ -39,6 +39,13 @@ namespace RUNTIME
errlHndl_t populate_attributes( void );
/**
+ * @brief Populate node attributes in mainstore for HostServices
+ *
+ * @return errlHndl_t NULL on Success
+ */
+errlHndl_t populate_node_attributes( uint64_t i_nodeNum );
+
+/**
* @brief Add the host data mainstore location to VMM
*
* @description If running with the standard PHYP payload this function
OpenPOWER on IntegriCloud