From ba77628250ae7158db363fc0d7886ebd43e9cb69 Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Fri, 12 Aug 2016 15:25:10 -0400 Subject: posix: shared memory support Add POSIX shared memory manager (Shm). Includes a hook-based approach for the backing memory storage that defaults to the Workspace, and a test is provided using the heap. A test is also provided for the basic use of mmap'ing a shared memory object. This test currently fails at the mmap stage due to no support for mmap. --- cpukit/posix/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit/posix/Makefile.am') diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am index 53faacee70..48617ccadf 100644 --- a/cpukit/posix/Makefile.am +++ b/cpukit/posix/Makefile.am @@ -41,6 +41,8 @@ include_rtems_posix_HEADERS += include/rtems/posix/psignalimpl.h include_rtems_posix_HEADERS += include/rtems/posix/pthread.h include_rtems_posix_HEADERS += include/rtems/posix/pthreadimpl.h include_rtems_posix_HEADERS += include/rtems/posix/ptimer.h +include_rtems_posix_HEADERS += include/rtems/posix/shm.h +include_rtems_posix_HEADERS += include/rtems/posix/shmimpl.h include_rtems_posix_HEADERS += include/rtems/posix/semaphore.h include_rtems_posix_HEADERS += include/rtems/posix/semaphoreimpl.h include_rtems_posix_HEADERS += include/rtems/posix/threadsup.h @@ -98,8 +100,11 @@ libposix_a_SOURCES += src/munlockall.c libposix_a_SOURCES += src/munlock.c libposix_a_SOURCES += src/munmap.c libposix_a_SOURCES += src/posix_madvise.c +libposix_a_SOURCES += src/shm.c +libposix_a_SOURCES += src/shmheap.c libposix_a_SOURCES += src/shmopen.c libposix_a_SOURCES += src/shmunlink.c +libposix_a_SOURCES += src/shmwkspace.c ## MESSAGE_QUEUE_C_FILES libposix_a_SOURCES += src/mqueue.c src/mqueueclose.c \ -- cgit v1.2.3