From 0c710141bbb9bd62617d981a3dbaed1b8775fded Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 10 Mar 2015 16:28:38 +0100 Subject: Add simple shared memory facility to IPC (no syscall yet) --- src/kernel/include/ipc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/kernel/include/ipc.h') diff --git a/src/kernel/include/ipc.h b/src/kernel/include/ipc.h index 05d14a8..4f8573c 100644 --- a/src/kernel/include/ipc.h +++ b/src/kernel/include/ipc.h @@ -14,6 +14,10 @@ typedef struct { fs_handle_pair_t make_channel(bool blocking); +// ---- shared memory regions + +fs_handle_t* make_shm(size_t size); + // ---- Tokens for sharing file descriptors between processes #define TOKEN_LIFETIME 1500000 // in usecs -- cgit v1.2.3