From 694e946dbd64c94343aeb289edd80a60759f7b26 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 6 Sep 2017 07:31:48 +0200 Subject: libio: Remove special-case reference count The top-level IO library structures should contain no special-case data. Update #2859. --- cpukit/posix/include/rtems/posix/mmanimpl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cpukit/posix/include/rtems/posix') 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 #include /* FIXME: use score chains for proper layering? */ +#include #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; -- cgit v1.2.3