Xenomai API  2.5.6.1
ksrc/skins/posix/shm.h
00001 #ifndef MMAN_H
00002 #define MMAN_H
00003 
00004 #include <posix/registry.h>     /* For associative lists. */
00005 
00006 #ifdef CONFIG_XENO_OPT_PERVASIVE
00007 
00008 typedef struct {
00009     void *kaddr;
00010     unsigned long len;
00011     pse51_assoc_t assoc;
00012 
00013 #define assoc2umap(laddr) \
00014     ((pse51_umap_t *)((unsigned long) (laddr) - offsetof(pse51_umap_t, assoc)))
00015 } pse51_umap_t;
00016 
00017 int pse51_xnheap_get(xnheap_t **pheap, void *addr);
00018 
00019 void pse51_shm_ufds_cleanup(pse51_queues_t *q);
00020 
00021 void pse51_shm_umaps_cleanup(pse51_queues_t *q);
00022 
00023 #endif /* CONFIG_XENO_OPT_PERVASIVE */
00024 
00025 int pse51_shm_pkg_init(void);
00026 
00027 void pse51_shm_pkg_cleanup(void);
00028 
00029 #endif /* MMAN_H */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines