SysLink API Reference  2.21.03.11
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
MemoryOS.h File Reference

Detailed Description

Memory abstraction APIs for local memory allocation.

This provides a direct access to local memory allocation, which does not require creation of a Heap.

#include <ti/syslink/utils/MemoryDefs.h>
#include <ti/syslink/utils/_MemoryOS.h>
Include dependency graph for MemoryOS.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Int32 MemoryOS_setup (void)
Int32 MemoryOS_destroy (void)
Ptr MemoryOS_alloc (UInt32 size, UInt32 align, UInt32 flags)
Ptr MemoryOS_calloc (UInt32 size, UInt32 align, UInt32 flags)
Void MemoryOS_free (Ptr ptr, UInt32 size, UInt32 flags)
Ptr MemoryOS_copy (Ptr dst, Ptr src, UInt32 len)
Ptr MemoryOS_set (Ptr buf, Int value, UInt32 len)
Ptr MemoryOS_translate (Ptr srcAddr, Memory_XltFlags flags)

Function Documentation

Int32 MemoryOS_setup ( void  )
Int32 MemoryOS_destroy ( void  )
Ptr MemoryOS_alloc ( UInt32  size,
UInt32  align,
UInt32  flags 
)
Ptr MemoryOS_calloc ( UInt32  size,
UInt32  align,
UInt32  flags 
)
Void MemoryOS_free ( Ptr  ptr,
UInt32  size,
UInt32  flags 
)
Ptr MemoryOS_copy ( Ptr  dst,
Ptr  src,
UInt32  len 
)
Ptr MemoryOS_set ( Ptr  buf,
Int  value,
UInt32  len 
)
Ptr MemoryOS_translate ( Ptr  srcAddr,
Memory_XltFlags  flags 
)
Copyright 2014, Texas Instruments Incorporated