2.57.7 PLIB_L2CC_CleanInvalidateCacheByAddr Function

C

void PLIB_L2CC_CleanInvalidateCacheByAddr(uint32_t *addr, uint32_t size);

Summary

Cleans and Invalidates L2 cache entries.

Description

This function will clean all dirty entries and then mark all cache entries as invalid within the given range.

Precondition

PLIB_L2CC_Initialize has been called.

Parameters

ParamDescription
addrThe start address of the memory range to be cleaned
sizeThe size of the memory range to be cleaned

Returns

None.

Example

PLIB_L2CC_CleanInvalidateCacheByAddr(dmaMem, dmaMemSize);