PSDK QNX API Guide

Shared Memory Allocator Driver User Header. More...

#include "ti/shmemallocator/SharedMemoryAllocator.h"

Go to the source code of this file.

Functions

int SHM_alloc (int size, shm_buf *buf)
 Allocate shared memory block with given size. More...
 
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 the physical memory address. More...
 
int SHM_alloc_fromBlock (int size, int blockID, shm_buf *buf)
 Allocate shared memory block with given size and block ID. More...
 
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. More...
 
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. More...
 
int SHM_get_blkInfo (int blockID, shm_buf *buf)
 Retrieves shared memory struct data for specified shared memory block. More...
 
int SHM_release (shm_buf *buf)
 Frees shared memory block. More...
 

Detailed Description

Shared Memory Allocator Driver User Header.