39#ifndef __INCLUDE_ASMP_MPSHM_H
40#define __INCLUDE_ASMP_MPSHM_H
60#define MPC_RETENTION 3
83#define EXTERN extern "C"
232#define mpshm_unmap(shm) mpshm_detach(shm);
int mpshm_remap(mpshm_t *shm, void *vaddr)
int mpshm_control(mpshm_t *shm, int cmd, void *buf)
int mpshm_destroy(mpshm_t *shm)
void * mpshm_attach(mpshm_t *shm, int shmflg)
uintptr_t mpshm_virt2phys(mpshm_t *shm, void *vaddr)
void * mpshm_phys2virt(mpshm_t *shm, uintptr_t paddr)
int mpshm_detach(mpshm_t *shm)
int mpshm_init(mpshm_t *shm, key_t key, size_t size)
int8_t tag
Definition: mpshm.h:74
uintptr_t paddr
Definition: mpshm.h:75
size_t size
Definition: mpshm.h:76
mpobj_t super
Definition: mpshm.h:73
sem_t exc
Definition: mpshm.h:77