TI Autonomous Driving Algorithms (TIADALG) Library User Guide
tiadalg_mem_manager.h File Reference

Go to the source code of this file.

Data Structures

struct  sMemory_t
 This structure is memory object structure,. More...
 

Macros

#define MEMSET(a, b, c)
 

Typedefs

typedef sMemory_t TIMemObject
 
typedef sMemory_tTIMemHandle
 

Functions

void tiadalg_create_memory_handle (TIMemHandle memhandle, unsigned char *baseAddr, unsigned int size)
 This function makes a memory handle live. More...
 
void tiadalg_reset_memory_handle (TIMemHandle memhandle)
 This function makes reset an existing memory object to its initial state, effectively removing all the previously allcoated memory chunks. More...
 
unsigned char * tiadalg_get_memory_chunk (TIMemHandle memhandle, unsigned int size, unsigned int alignment)
 This function provides the requested memory to user. More...
 

Macro Definition Documentation

◆ MEMSET

#define MEMSET (   a,
  b,
 
)

Typedef Documentation

◆ TIMemObject

◆ TIMemHandle

Function Documentation

◆ tiadalg_create_memory_handle()

void tiadalg_create_memory_handle ( TIMemHandle  memhandle,
unsigned char *  baseAddr,
unsigned int  size 
)

This function makes a memory handle live.

tiadalg_create_memory_handle

Parameters
memhandle[IN]: Memory Handle
baseAddr[IN]: Base address of the memory object
size[IN]: Size of the total memory being assigned to this memory handle
Returns
none

◆ tiadalg_reset_memory_handle()

void tiadalg_reset_memory_handle ( TIMemHandle  memhandle)

This function makes reset an existing memory object to its initial state, effectively removing all the previously allcoated memory chunks.

tiadalg_reset_memory_handle

Parameters
memhandle[IN]: Memory Handle
Returns
none

◆ tiadalg_get_memory_chunk()

unsigned char* tiadalg_get_memory_chunk ( TIMemHandle  memhandle,
unsigned int  size,
unsigned int  alignment 
)

This function provides the requested memory to user.

tiadalg_get_memory_chunk

Parameters
memhandle[IN]: Memory Handle
size[IN]: Requested size of the memory
alignment[IN]alignment of required memory
Returns
pointer to the memory

© Copyright 2018 Texas Instruments Incorporated. All rights reserved.
Document generated by doxygen 1.8.6