5
Last change
on this file since 9c9c6a9 was
9c9c6a9,
checked in by Sebastian Huber <sebastian.huber@…>, on 11/21/18 at 16:30:52
|
score: Remove Objects_Information::is_string
Use Objects_Information::name_length to store this information.
Update #3621.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[ba776282] | 1 | /** |
---|
| 2 | * @file |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | /* |
---|
| 6 | * Copyright (c) 2016 Gedare Bloom. |
---|
| 7 | * |
---|
| 8 | * The license and distribution terms for this file may be |
---|
| 9 | * found in the file LICENSE in this distribution or at |
---|
| 10 | * http://www.rtems.org/license/LICENSE. |
---|
| 11 | */ |
---|
| 12 | |
---|
| 13 | #if HAVE_CONFIG_H |
---|
| 14 | #include "config.h" |
---|
| 15 | #endif |
---|
| 16 | |
---|
| 17 | #include <sys/stat.h> |
---|
| 18 | #include <fcntl.h> |
---|
[1f22b26] | 19 | #include <limits.h> |
---|
[ba776282] | 20 | |
---|
| 21 | #include <rtems/system.h> |
---|
| 22 | #include <rtems/config.h> |
---|
| 23 | #include <rtems/libio.h> |
---|
| 24 | #include <rtems/sysinit.h> |
---|
| 25 | #include <rtems/posix/shmimpl.h> |
---|
| 26 | |
---|
| 27 | Objects_Information _POSIX_Shm_Information; |
---|
| 28 | |
---|
| 29 | static void _POSIX_Shm_Manager_initialization( void ) |
---|
| 30 | { |
---|
| 31 | _Objects_Initialize_information( |
---|
| 32 | &_POSIX_Shm_Information, /* object information table */ |
---|
| 33 | OBJECTS_POSIX_API, /* object API */ |
---|
| 34 | OBJECTS_POSIX_SHMS, /* object class */ |
---|
[e97806a] | 35 | _Configuration_POSIX_Maximum_shms, |
---|
[ba776282] | 36 | sizeof( POSIX_Shm_Control ), |
---|
| 37 | /* size of this object's control block */ |
---|
| 38 | _POSIX_PATH_MAX, /* maximum length of each object's name */ |
---|
| 39 | NULL /* Proxy extraction support callout */ |
---|
| 40 | ); |
---|
| 41 | } |
---|
| 42 | |
---|
| 43 | RTEMS_SYSINIT_ITEM( |
---|
| 44 | _POSIX_Shm_Manager_initialization, |
---|
| 45 | RTEMS_SYSINIT_POSIX_SHM, |
---|
| 46 | RTEMS_SYSINIT_ORDER_MIDDLE |
---|
| 47 | ); |
---|
Note: See
TracBrowser
for help on using the repository browser.