xil_testcache.h File Reference


Functions

int Xil_TestDCacheRange (void)
int Xil_TestDCacheAll (void)
int Xil_TestICacheRange (void)
int Xil_TestICacheAll (void)

Detailed Description

This file contains utility functions to test cache.

Ver Who Date Changes ----- ---- -------- ----------------------------------------------- 1.00a hbm 07/29/09 First release


Function Documentation

int Xil_TestDCacheAll void   ) 
 

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.

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

int Xil_TestDCacheRange void   ) 
 

Perform DCache range related API test such as Xil_DCacheFlushRange and Xil_DCacheInvalidateRange. This test function writes a constant value to the Data array, flushes the range, writes a new value, then invalidates the corresponding range.

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

int Xil_TestICacheAll void   ) 
 

Perform Xil_ICacheInvalidate().

Returns:
  • 0 is returned for a pass The function will hang if it fails.

int Xil_TestICacheRange void   ) 
 

Perform Xil_ICacheInvalidateRange() on a few function pointers.

Returns:
  • 0 is returned for a pass The function will hang if it fails.


Generated on Thu Feb 13 14:48:12 2014 for 2014.1_doc by  doxygen 1.4.5