41 #ifndef SHARED_MEMORY_ALLOCATOR_H_INCLUDED
42 #define SHARED_MEMORY_ALLOCATOR_H_INCLUDED
63 #include "ti/shmemallocator/SharedMemoryAllocatorMgr.h"
128 shm_buf *buf,
int prot,
int flags);
int SHM_alloc_aligned_fromBlock(int size, uint alignment, int blockID, shm_buf *buf)
Allocate n-bytes aligned shared memory block with given size and block ID.
int SHM_alloc_fromBlock(int size, int blockID, shm_buf *buf)
Allocate shared memory block with given size and block ID.
int SHM_release(shm_buf *buf)
Frees shared memory block.
int SHM_get_blkInfo(int blockID, shm_buf *buf)
Retrieves shared memory struct data for specified shared memory block.
int SHM_alloc(int size, shm_buf *buf)
Allocate shared memory block with given size.
int SHM_alloc_aligned(int size, uint alignment, shm_buf *buf)
Allocate n-bytes aligned shared memory block with given size. The alignment will be with respect to t...
int SHM_alloc_aligned_fromBlock_withFlags(int size, uint alignment, int blockID, shm_buf *buf, int prot, int flags)
Allocate n-bytes aligned shared memory block with given size, block ID, and specified flags.