![]() |
TI Autonomous Driving Algorithms (TIADALG) Library User Guide
|
Implementation of the Memory Manager for internal memories in TI devices which needs to be handled by EVE software. User can create a object of memory with given base address and total size. Later user can get different memory chunks by requesting to memory manager. More...
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_t * | TIMemHandle |
Functions | |
void | TI_CreateMemoryHandle (TIMemHandle memhandle, unsigned char *baseAddr, unsigned int size) |
This function makes a memory handle live. More... | |
void | TI_ResetMemoryHandle (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 * | TI_GetMemoryChunk (TIMemHandle memhandle, unsigned int size, unsigned int alignment) |
This function provides the requested memory to user. More... | |
Implementation of the Memory Manager for internal memories in TI devices which needs to be handled by EVE software. User can create a object of memory with given base address and total size. Later user can get different memory chunks by requesting to memory manager.
#define MEMSET | ( | a, | |
b, | |||
c | |||
) |
typedef sMemory_t TIMemObject |
typedef sMemory_t* TIMemHandle |
void TI_CreateMemoryHandle | ( | TIMemHandle | memhandle, |
unsigned char * | baseAddr, | ||
unsigned int | size | ||
) |
This function makes a memory handle live.
TI_CreateMemoryHandle
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 |
void TI_ResetMemoryHandle | ( | TIMemHandle | memhandle | ) |
This function makes reset an existing memory object to its initial state, effectively removing all the previously allcoated memory chunks.
TI_ResetMemoryHandle
memhandle | [IN]: Memory Handle |
unsigned char* TI_GetMemoryChunk | ( | TIMemHandle | memhandle, |
unsigned int | size, | ||
unsigned int | alignment | ||
) |
This function provides the requested memory to user.
TI_GetMemoryChunk
memhandle | [IN]: Memory Handle |
size | [IN]: Requested size of the memory |
alignment[IN] | alignment of required memory |
|
© Copyright 2018 Texas Instruments Incorporated. All rights reserved. |
Document generated by doxygen 1.8.6 |