summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/posix
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-06 07:31:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-14 07:02:28 +0200
commit694e946dbd64c94343aeb289edd80a60759f7b26 (patch)
treedadfd23f4d37c623b10dca5aff23b0c84f694de7 /cpukit/posix/include/rtems/posix
parentposix: Ignore pshared for semaphores (diff)
downloadrtems-694e946dbd64c94343aeb289edd80a60759f7b26.tar.bz2
libio: Remove special-case reference count
The top-level IO library structures should contain no special-case data. Update #2859.
Diffstat (limited to 'cpukit/posix/include/rtems/posix')
-rw-r--r--cpukit/posix/include/rtems/posix/mmanimpl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/posix/include/rtems/posix/mmanimpl.h b/cpukit/posix/include/rtems/posix/mmanimpl.h
index ff59d911ca..e1cc672331 100644
--- a/cpukit/posix/include/rtems/posix/mmanimpl.h
+++ b/cpukit/posix/include/rtems/posix/mmanimpl.h
@@ -18,6 +18,7 @@
#include <rtems/libio_.h>
#include <rtems/chain.h> /* FIXME: use score chains for proper layering? */
+#include <rtems/posix/shm.h>
#ifdef __cplusplus
extern "C" {
@@ -29,12 +30,11 @@ extern "C" {
* Every mmap'ed region has a mapping.
*/
typedef struct mmap_mappings_s {
- rtems_chain_node node; /**< The mapping chain's node */
- void* addr; /**< The address of the mapped memory */
- size_t len; /**< The length of memory mapped */
- int flags; /**< The mapping flags */
- rtems_libio_t *iop; /**< The mapped object's file descriptor pointer */
- bool is_shared_shm; /**< True if MAP_SHARED of shared memory */
+ rtems_chain_node node; /**< The mapping chain's node */
+ void* addr; /**< The address of the mapped memory */
+ size_t len; /**< The length of memory mapped */
+ int flags; /**< The mapping flags */
+ POSIX_Shm_Control *shm; /**< The shared memory object or NULL */
} mmap_mapping;
extern rtems_chain_control mmap_mappings;