ksrc/skins/posix/shm.h

00001 #ifndef MMAN_H
00002 #define MMAN_H
00003 
00004 #include <posix/registry.h>     /* For associative lists. */
00005 
00006 #if defined(__KERNEL__) && defined(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 #endif /* __KERNEL__ && CONFIG_XENO_OPT_PERVASIVE */
00023 
00024 int pse51_shm_pkg_init(void);
00025 
00026 void pse51_shm_pkg_cleanup(void);
00027 
00028 #endif /* MMAN_H */

Generated on Mon Dec 25 13:57:10 2006 for Xenomai API by  doxygen 1.4.6