5
Last change
on this file since 3cec2df was
3cec2df,
checked in by Sebastian Huber <sebastian.huber@…>, on 12/17/19 at 08:17:43
|
config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into
CONFIGURE_MAXIMUM_FILE_DESCRIPTORS.
Update #3753.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
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_SIMPLE_CONSOLE_DRIVER |
---|
19 | |
---|
20 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
---|
21 | |
---|
22 | #define CONFIGURE_MAXIMUM_POSIX_THREADS 1 |
---|
23 | #define CONFIGURE_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/posix/shm.h> |
---|
30 | const POSIX_Shm_Object_operations _POSIX_Shm_Object_operations = { |
---|
31 | _POSIX_Shm_Object_create_from_heap, |
---|
32 | _POSIX_Shm_Object_resize_from_heap, |
---|
33 | _POSIX_Shm_Object_delete_from_heap, |
---|
34 | _POSIX_Shm_Object_read_from_heap, |
---|
35 | _POSIX_Shm_Object_mmap_from_heap |
---|
36 | }; |
---|
37 | #define CONFIGURE_HAS_OWN_POSIX_SHM_OBJECT_OPERATIONS |
---|
38 | |
---|
39 | #include <rtems/confdefs.h> |
---|
Note: See
TracBrowser
for help on using the repository browser.