diff options
Diffstat (limited to 'src/include/kernel')
| -rw-r--r-- | src/include/kernel/hbdescriptor.H | 5 | ||||
| -rw-r--r-- | src/include/kernel/ipc.H | 41 |
2 files changed, 45 insertions, 1 deletions
diff --git a/src/include/kernel/hbdescriptor.H b/src/include/kernel/hbdescriptor.H index e90861a48..e5c6a9c0f 100644 --- a/src/include/kernel/hbdescriptor.H +++ b/src/include/kernel/hbdescriptor.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012 */ +/* COPYRIGHT International Business Machines Corp. 2012,2013 */ /* */ /* p1 */ /* */ @@ -30,9 +30,12 @@ struct HB_TI_DataArea; +namespace KernelIpc { struct ipc_data_area_t; }; + struct HB_Descriptor { HB_TI_DataArea *TI_DataAreaPtr; // ptr to the TI data area structure + KernelIpc::ipc_data_area_t *IPC_DataAreaPtr; // ptr to the IPC data area }; #endif /* __KERNEL_HBDESCRIPTOR_H */ diff --git a/src/include/kernel/ipc.H b/src/include/kernel/ipc.H new file mode 100644 index 000000000..a67ea5463 --- /dev/null +++ b/src/include/kernel/ipc.H @@ -0,0 +1,41 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/kernel/ipc.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_H) +#define __IPC_H + +#include <sys/msg.h> + +namespace KernelIpc +{ +struct ipc_data_area_t +{ + uint64_t msg_queue_id; + msg_t msg_payload; + uint64_t hrmor_base; + uint32_t pir; +}; + +extern ipc_data_area_t ipc_data_area; +}; + +#endif |

