1.27.7.5 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

Param Description
addr The start address of the memory range to be cleaned
size The size of the memory range to be cleaned

Returns

None.

Example

PLIB_L2CC_CleanInvalidateCacheByAddr(dmaMem, dmaMemSize);