iLLD_TC27xC  1.0
Cache Management Functions
Collaboration diagram for Cache Management Functions:

Functions

IFX_INLINE void IfxCpu_setDataCache (boolean enable)
 API to enable or bypass the data cache for the CPU which calls this API. More...
 
IFX_INLINE void IfxCpu_setProgramCache (boolean enable)
 API to enable or bypass the program cache for the CPU which calls this API. More...
 
IFX_INLINE boolean IfxCpu_isAddressCachable (void *address)
 API to determine if an address is in a cachable or non-cachable Flash/LMU section. More...
 
IFX_INLINE void IfxCpu_enableSegmentSpecificDataAccessCacheability (uint16 segmentNumberMask, boolean enable)
 API to enable/ disable the data cacheability for selected segments With this API cacheability for one or more segment can be enabled/disabled for the CPU core where this API is called. More...
 
IFX_INLINE void IfxCpu_enableSegmentSpecificInstructionAccessCacheability (uint16 segmentNumberMask, boolean enable)
 API to enable/ disable the instruction cacheability for selected segments With this API cacheability for one or more segment can be enabled/disabled for the CPU core where this API is called. More...
 
IFX_INLINE void IfxCpu_invalidateProgramCache (void)
 API to invalidate the program cache. More...
 

Detailed Description

Function Documentation

IFX_INLINE void IfxCpu_enableSegmentSpecificDataAccessCacheability ( uint16  segmentNumberMask,
boolean  enable 
)

API to enable/ disable the data cacheability for selected segments With this API cacheability for one or more segment can be enabled/disabled for the CPU core where this API is called.

Note
This API is to be called only if the PCACHE or DCACHE are not enabled before
Parameters
segmentNumberMaskMask where bitfield 0 represents segment 0 and bitfield 16 represent segment F.
enableTRUE: to enable the cacheability for selected segment, FALSE: to disable.

Definition at line 643 of file IfxCpu.h.

IFX_INLINE void IfxCpu_enableSegmentSpecificInstructionAccessCacheability ( uint16  segmentNumberMask,
boolean  enable 
)

API to enable/ disable the instruction cacheability for selected segments With this API cacheability for one or more segment can be enabled/disabled for the CPU core where this API is called.

Note
This API is to be called only if the PCACHE or DCACHE are not enabled before
Parameters
segmentNumberMaskMask where bitfield 0 represents segment 0 and bitfield 16 represent segment F.
enableTRUE: to enable the cacheability for selected segment, FALSE: to disable.

Definition at line 674 of file IfxCpu.h.

IFX_INLINE void IfxCpu_invalidateProgramCache ( void  )

API to invalidate the program cache.

Definition at line 705 of file IfxCpu.h.

IFX_INLINE boolean IfxCpu_isAddressCachable ( void *  address)

API to determine if an address is in a cachable or non-cachable Flash/LMU section.

Parameters
addressAddress
Returns
Status TRUE/FALSE

Definition at line 636 of file IfxCpu.h.

IFX_INLINE void IfxCpu_setDataCache ( boolean  enable)

API to enable or bypass the data cache for the CPU which calls this API.

This API can be used only to enable or bypass the data cache of caller CPU. It cannot be used for this activity towards other CPUs

Parameters
enableCommand to enable or bypass the data cache TRUE: Enable the data cache. FALSE: Bypass the data cache.
Returns
None

Definition at line 592 of file IfxCpu.h.

Referenced by _Core0_start(), _Core1_start(), and _Core2_start().

IFX_INLINE void IfxCpu_setProgramCache ( boolean  enable)

API to enable or bypass the program cache for the CPU which calls this API.

This API can be used only to enable or bypass the program cache of caller CPU. It cannot be used for this activity towards other CPUs

Parameters
enableCommand to enable or bypass the program cache. TRUE: Enable the program cache. FALSE: Bypass the program cache
Returns
None

Definition at line 610 of file IfxCpu.h.

Referenced by _Core0_start(), _Core1_start(), and _Core2_start().