Invalidate the instruction cache for the given address range.
If the bytes specified by the address (adr) are cached by the Data cache, the cacheline containing that byte is invalidated. If the cachelineis modified (dirty), the modified contents are lost and are NOT written to system memory before the line is invalidated.
Prototype
void Xil_ICacheInvalidateRange(INTPTR adr, u32 len);
Parameters
The following table lists the Xil_ICacheInvalidateRange
function arguments.
Name | Description |
---|---|
adr | 32bit start address of the range to be invalidated. |
len | Length of the range to be invalidated in bytes. |