Xil_TestDCacheAll - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English

Perform DCache all related API test such as Xil_DCacheFlush and Xil_DCacheInvalidate.

This test function writes a constant value to the Data array, flushes the DCache, writes a new value, then invalidates the DCache.

Prototype

s32 Xil_TestDCacheAll(void);

Returns

  • 0 is returned for a pass
  • -1 is returned for a failure