Functions | Defines

MEMUTILS

Functions

Void MEMUTILS_cacheInv (Ptr addr, Int sizeInBytes)
 Invalidate a range of cache.
Void MEMUTILS_cacheWb (Ptr addr, Int sizeInBytes)
 Write back cache.
Void MEMUTILS_cacheWbInv (Ptr addr, Int sizeInBytes)
 Write back and invalidate cache.
Void * MEMUTILS_getPhysicalAddr (Ptr addr)
 Obtain physical (hardware specific) address.

Defines

#define MEMUTILS_MODNAME   "ti.sdo.fc.memutils"
 Name used to identify the module for setting xdc.runtime.Diags masks.

Detailed Description

MEMUTILS is a set of APIs that can be called by xDAIS algorithms to manage their Cache and also to obtain Physical addresses for algorithms that need to program accelarators (i.e., EDMA3, HDVICP etc)

Remarks:

Function Documentation

Void MEMUTILS_cacheInv ( Ptr  addr,
Int  sizeInBytes 
)

Invalidate a range of cache.

Parameters:
[in]addrAddress of the beginning of the buffer to invalidate.
[in]sizeInBytesSize of the buffer to invalidate.
Remarks:
In addition to application usage, this is often called by a skeleton implementor after it has received a shared memory buffer from another processor, and before it invokes an algorithm's interface which will operate on that shared memory buffer.
See also:
MEMUTILS_cacheWb()
MEMUTILS_cacheWbInv()
Void MEMUTILS_cacheWb ( Ptr  addr,
Int  sizeInBytes 
)

Write back cache.

Parameters:
[in]addrAddress of the beginning of the buffer to writeback.
[in]sizeInBytesSize of the buffer to writeback.
See also:
MEMUTILS_cacheInv()
MEMUTILS_cacheWbInv()
Void MEMUTILS_cacheWbInv ( Ptr  addr,
Int  sizeInBytes 
)

Write back and invalidate cache.

Parameters:
[in]addrAddress of the beginning of the buffer to writeback and invalidate.
[in]sizeInBytesSize of the buffer to writeback invalidate.
See also:
MEMUTILS_cacheInv()
MEMUTILS_cacheWb()
Void* MEMUTILS_getPhysicalAddr ( Ptr  addr )

Obtain physical (hardware specific) address.

Parameters:
[in]addrAddress to convert to physical (hardware) address

Define Documentation

#define MEMUTILS_MODNAME   "ti.sdo.fc.memutils"

Name used to identify the module for setting xdc.runtime.Diags masks.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2012, Texas Instruments Incorporated