Xil_L1DCacheInvalidateRange - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

Invalidate the level 1 Data cache for the given address range.

If the bytes specified by the address range are cached by the Data cache, the cachelines containing those bytes are invalidated. If the cachelines are modified (dirty), the modified contents are lost and NOT written to the system memory before the lines are invalidated.

Prototype

void Xil_L1DCacheInvalidateRange(u32 adr, u32 len);

Parameters

The following table lists the Xil_L1DCacheInvalidateRange function arguments.

Table 1. Xil_L1DCacheInvalidateRange Arguments
Name Description
adr 32-bit start address of the range to be invalidated.
len Length of the range to be invalidated in bytes.

Returns

None.