43#define asm_inval_dc_line_mva_poc(param) __asm__ __volatile__("mcr " \
44 XREG_CP15_INVAL_DC_LINE_MVA_POC :: "r" (param))
46#define asm_clean_inval_dc_line_sw(param) __asm__ __volatile__("mcr " \
47 XREG_CP15_CLEAN_INVAL_DC_LINE_SW :: "r" (param))
49#define asm_clean_inval_dc_line_mva_poc(param) __asm__ __volatile__("mcr " \
50 XREG_CP15_CLEAN_INVAL_DC_LINE_MVA_POC :: "r" (param))
52#define asm_inval_ic_line_mva_pou(param) __asm__ __volatile__("mcr " \
53 XREG_CP15_INVAL_IC_LINE_MVA_POU :: "r" (param))
54#elif defined (__ICCARM__)
55#define asm_inval_dc_line_mva_poc(param) __asm volatile("mcr " \
56 XREG_CP15_INVAL_DC_LINE_MVA_POC :: "r" (param))
58#define asm_clean_inval_dc_line_sw(param) __asm volatile("mcr " \
59 XREG_CP15_CLEAN_INVAL_DC_LINE_SW :: "r" (param))
61#define asm_clean_inval_dc_line_mva_poc(param) __asm volatile("mcr " \
62 XREG_CP15_CLEAN_INVAL_DC_LINE_MVA_POC :: "r" (param))
64#define asm_inval_ic_line_mva_pou(param) __asm volatile("mcr " \
65 XREG_CP15_INVAL_IC_LINE_MVA_POU :: "r" (param))
void Xil_ICacheInvalidate(void)
Invalidate the entire instruction cache.
Definition: xil_cache.c:627
void Xil_ICacheInvalidateRange(INTPTR adr, INTPTR len)
Invalidate the instruction cache for the given address range. If the instructions specified by the ad...
Definition: xil_cache.c:681
void Xil_DCacheEnable(void)
Enable the Data cache.
Definition: xil_cache.c:90
void Xil_ICacheInvalidateLine(INTPTR adr)
Invalidate an instruction cache line. If the instruction specified by the parameter adr is cached by ...
Definition: xil_cache.c:654
void Xil_ICacheDisable(void)
Disable the instruction cache.
Definition: xil_cache.c:594
void Xil_DCacheDisable(void)
Disable the Data cache.
Definition: xil_cache.c:127
void Xil_DCacheInvalidate(void)
Invalidate the Data cache. The contents present in the cache are cleaned and invalidated.
Definition: xil_cache.c:257
void Xil_ICacheEnable(void)
Enable the instruction cache.
Definition: xil_cache.c:558
void Xil_DCacheInvalidateRange(INTPTR adr, INTPTR len)
Invalidate the Data cache for the given address range. The cachelines present in the adderss range ar...
Definition: xil_cache.c:404
void Xil_DCacheFlush(void)
Flush the Data cache.
Definition: xil_cache.c:429
void Xil_DCacheFlushLine(INTPTR adr)
Flush a Data cache line. If the byte specified by the address (adr) is cached by the Data cache,...
Definition: xil_cache.c:533
void Xil_DCacheInvalidateLine(INTPTR adr)
Invalidate a Data cache line. The cacheline is cleaned and invalidated.
Definition: xil_cache.c:364
void Xil_DCacheFlushRange(INTPTR adr, u32 len)
Flush the Data cache for the given address range. If the bytes specified by the address (adr) are cac...
Definition: xil_cache.c:348
void Xil_DCacheStoreLine(INTPTR adr)
Store a Data cache line. If the byte specified by the address (adr) is cached by the Data cache and t...
Definition: xil_cache.c:390