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. --- testsuites/psxtests/psxshm02/Makefile.am | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 testsuites/psxtests/psxshm02/Makefile.am (limited to 'testsuites/psxtests/psxshm02/Makefile.am') diff --git a/testsuites/psxtests/psxshm02/Makefile.am b/testsuites/psxtests/psxshm02/Makefile.am new file mode 100644 index 0000000000..c174b0ccf5 --- /dev/null +++ b/testsuites/psxtests/psxshm02/Makefile.am @@ -0,0 +1,22 @@ + +rtems_tests_PROGRAMS = psxshm02 +psxshm02_SOURCES = init.c system.h + +dist_rtems_tests_DATA = psxshm02.scn + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../automake/compile.am +include $(top_srcdir)/../automake/leaf.am + + +AM_CPPFLAGS += -I$(top_srcdir)/include +AM_CPPFLAGS += -I$(top_srcdir)/../support/include + +LINK_OBJS = $(psxshm02_OBJECTS) +LINK_LIBS = $(psxshm02_LDLIBS) + +psxshm02$(EXEEXT): $(psxshm02_OBJECTS) $(psxshm02_DEPENDENCIES) + @rm -f psxshm02$(EXEEXT) + $(make-exe) + +include $(top_srcdir)/../automake/local.am -- cgit v1.2.3