My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
otz_tee_mem_mgmt.h File Reference
#include <sw_common_types.h>

Go to the source code of this file.

Macros

#define TEE_MEMORY_ACCESS_READ   0xFFFF5002
 TEE_mem_access_rights_error_codes. More...
 
#define TEE_MEMORY_ACCESS_WRITE   0xFFFF5003
 
#define TEE_MEMORY_ACCESS_ANY_OWNER   0xFFFF5004
 

Functions

void * TEE_Malloc (size_t size, u32 hint)
 allocates space for an object whose size in bytes is specified in the parameter size More...
 
void * TEE_Realloc (void *buffer, u32 newSize)
 changes the size of the memory object pointed to by buffer to the size specified by newSize More...
 
void TEE_Free (void *buffer)
 causes the space pointed to by buffer to be deallocated that is, made available for further allocation More...
 
void TEE_MemMove (void *dest, void *src, u32 count)
 copies count bytes from the object pointed to by src into the object pointed to by dest More...
 
int TEE_MemCompare (void *src, void *dest, u32 length)
 compares the first length bytes of buffer1 to the first length bytes of buffer2 More...
 
void TEE_MemFill (void *buffer, u32 x, u32 size)
 writes the byte x into the first size bytes of the buffer More...
 
void TEE_MemCpy (void *dest, void *src, u32 count)
 copies the first count bytes of src to the first count bytes of dest More...
 

Macro Definition Documentation

#define TEE_MEMORY_ACCESS_ANY_OWNER   0xFFFF5004
#define TEE_MEMORY_ACCESS_READ   0xFFFF5002

TEE_mem_access_rights_error_codes.

#define TEE_MEMORY_ACCESS_WRITE   0xFFFF5003

Function Documentation

void TEE_Free ( void *  buffer)

causes the space pointed to by buffer to be deallocated that is, made available for further allocation

Parameters
buffer
void* TEE_Malloc ( size_t  size,
u32  hint 
)

allocates space for an object whose size in bytes is specified in the parameter size

Parameters
size
hint
Returns
int TEE_MemCompare ( void *  src,
void *  dest,
u32  length 
)

compares the first length bytes of buffer1 to the first length bytes of buffer2

Parameters
src
dest
length
Returns
void TEE_MemCpy ( void *  dest,
void *  src,
u32  count 
)

copies the first count bytes of src to the first count bytes of dest

Parameters
dest
src
count
void TEE_MemFill ( void *  buffer,
u32  x,
u32  size 
)

writes the byte x into the first size bytes of the buffer

Parameters
buffer
x
size
void TEE_MemMove ( void *  dest,
void *  src,
u32  count 
)

copies count bytes from the object pointed to by src into the object pointed to by dest

Parameters
dest
src
count
void* TEE_Realloc ( void *  buffer,
u32  newSize 
)

changes the size of the memory object pointed to by buffer to the size specified by newSize

Parameters
buffer
newSize
Returns