Arm Cortex-A9 Processor Cache Functions - 2023.1 English

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

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

Cache functions provide access to cache related operations such as flush and invalidate for instruction and data caches.

It gives option to perform the cache operations on a single cacheline, a range of memory and an entire cache.

Table 1. Quick Function Reference
Type Name Arguments
void Xil_DCacheEnable
  • void
void Xil_DCacheDisable
  • void
void Xil_DCacheInvalidate
  • void
void Xil_DCacheInvalidateRange
  • INTPTR adr
  • u32 len
void Xil_DCacheFlush
  • void
void Xil_DCacheFlushRange
  • INTPTR adr
  • u32 len
void Xil_ICacheEnable
  • void
void Xil_ICacheDisable
  • void
void Xil_ICacheInvalidate
  • void
void Xil_ICacheInvalidateRange
  • INTPTR adr
  • u32 len
void Xil_DCacheInvalidateLine
  • u32 adr
void Xil_DCacheFlushLine
  • u32 adr
void Xil_DCacheStoreLine
  • u32 adr
void Xil_ICacheInvalidateLine
  • u32 adr
void Xil_L1DCacheEnable
  • void
void Xil_L1DCacheDisable
  • void
void Xil_L1DCacheInvalidate
  • void
void Xil_L1DCacheInvalidateLine
  • u32 adr
void Xil_L1DCacheInvalidateRange
  • u32 adr
  • u32 len
void Xil_L1DCacheFlush
  • void
void Xil_L1DCacheFlushLine
  • u32 adr
void Xil_L1DCacheFlushRange
  • u32 adr
  • u32 len
void Xil_L1DCacheStoreLine
  • u32 adr
void Xil_L1ICacheEnable
  • void
void Xil_L1ICacheDisable
  • void
void Xil_L1ICacheInvalidate
  • void
void Xil_L1ICacheInvalidateLine
  • u32 adr
void Xil_L1ICacheInvalidateRange
  • u32 adr
  • u32 len
void Xil_L2CacheEnable
  • void
void Xil_L2CacheDisable
  • void
void Xil_L2CacheInvalidate
  • void
void Xil_L2CacheInvalidateLine
  • u32 adr
void Xil_L2CacheInvalidateRange
  • u32 adr
  • u32 len
void Xil_L2CacheFlush
  • void
void Xil_L2CacheFlushLine
  • u32 adr
void Xil_L2CacheFlushRange
  • u32 adr
  • u32 len
void Xil_L2CacheStoreLine
  • u32 adr