summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-09-10 18:18:18 +0000
committermidipix <writeonce@midipix.org>2017-09-10 23:08:00 -0400
commit72ef7534b06e26796b5f608773cf4fb9febab59b (patch)
tree0b6ed122d7cd3ab20bc80c73b36b229867b9bcaf /include
parent808b639bb894cd36381715e603e067a5725c1760 (diff)
downloadntapi-72ef7534b06e26796b5f608773cf4fb9febab59b.tar.bz2
ntapi-72ef7534b06e26796b5f608773cf4fb9febab59b.tar.xz
struct nt_runtime_data: added shared memory and tmpfs layer definitions.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_ipc.h6
-rw-r--r--include/ntapi/nt_process.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ntapi/nt_ipc.h b/include/ntapi/nt_ipc.h
index dd71874..af78b74 100644
--- a/include/ntapi/nt_ipc.h
+++ b/include/ntapi/nt_ipc.h
@@ -13,6 +13,9 @@
#define NT_IPC_GUID_MSQKEY {0x8f700621,0x45d2,0x4470,{0x82,0xe4,0xbc,0xad,0x06,0x71,0xb7,0x14}}
#define NT_IPC_GUID_MSQPID {0x3c6c2b5b,0x727f,0x4a2e,{0xb2,0x21,0xed,0xd2,0xe6,0xe7,0x80,0xdc}}
+#define NT_IPC_GUID_SHMCTL {0xb6103154,0xa110,0x427e,{0x81,0x87,0x98,0xa3,0xd5,0xba,0x48,0x5a}}
+#define NT_IPC_GUID_TMPFSL {0x63e12727,0x1653,0x402e,{0x84,0x9d,0x35,0x8d,0x01,0xcf,0x43,0xf4}}
+
/* friendly ipc object directory prefixes */
#define NT_IPC_OBJDIR_PREFIX_SEMCTL {'s','e','m','c','t','l'}
@@ -23,6 +26,9 @@
#define NT_IPC_OBJDIR_PREFIX_MSQKEY {'m','s','q','k','e','y'}
#define NT_IPC_OBJDIR_PREFIX_MSQPID {'m','s','q','p','i','d'}
+#define NT_IPC_OBJDIR_PREFIX_SHMCTL {'s','h','m','c','t','l'}
+#define NT_IPC_OBJDIR_PREFIX_TMPFSL {'t','m','p','f','s','l'}
+
/* ipc commands */
#define NT_IPC_CMD_RMID (0)
diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h
index 1a21e6b..bc4eb37 100644
--- a/include/ntapi/nt_process.h
+++ b/include/ntapi/nt_process.h
@@ -472,6 +472,10 @@ typedef struct _nt_runtime_data {
void * hmsqctldir;
void * hmsqkeydir;
void * hmsqpiddir;
+ void * hshmctlroot;
+ void * hshmctldir;
+ void * htmpfslroot;
+ void * htmpfsldir;
nt_guid abi;
nt_cid cid_self;
nt_cid cid_parent;