5
Last change
on this file since ba776282 was
ba776282,
checked in by Gedare Bloom <gedare@…>, on 08/12/16 at 19:25:10
|
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.
|
-
Property mode set to
100644
|
File size:
717 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2016 Gedare Bloom. |
---|
3 | * |
---|
4 | * The license and distribution terms for this file may be |
---|
5 | * found in the file LICENSE in this distribution or at |
---|
6 | * http://www.rtems.org/license/LICENSE. |
---|
7 | */ |
---|
8 | |
---|
9 | #include <pmacros.h> |
---|
10 | #include <unistd.h> |
---|
11 | #include <errno.h> |
---|
12 | |
---|
13 | void *POSIX_Init( |
---|
14 | void *argument |
---|
15 | ); |
---|
16 | |
---|
17 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
18 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
19 | |
---|
20 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
---|
21 | |
---|
22 | #define CONFIGURE_MAXIMUM_POSIX_THREADS 1 |
---|
23 | #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10 |
---|
24 | #define CONFIGURE_MAXIMUM_POSIX_SHMS 1 |
---|
25 | #define CONFIGURE_MEMORY_OVERHEAD 10 |
---|
26 | |
---|
27 | #define CONFIGURE_POSIX_INIT_THREAD_TABLE |
---|
28 | |
---|
29 | #include <rtems/confdefs.h> |
---|
Note: See
TracBrowser
for help on using the repository browser.