3 #ifdef HAVE_ASM_CACHECTL_H
4 # include <asm/cachectl.h>
8 # include "xlat/cacheflush_scope.h"
10 static const struct xlat cacheflush_flags[] = {
11 #ifdef FLUSH_CACHE_BOTH
12 XLAT(FLUSH_CACHE_BOTH),
14 #ifdef FLUSH_CACHE_DATA
15 XLAT(FLUSH_CACHE_DATA),
17 #ifdef FLUSH_CACHE_INSN
18 XLAT(FLUSH_CACHE_INSN),
26 printaddr(tcp->u_arg[0]);
29 printxval(cacheflush_scope, tcp->u_arg[1], "FLUSH_SCOPE_???");
32 printflags(cacheflush_flags, tcp->u_arg[2], "FLUSH_CACHE_???");
34 tprintf(", %lu", tcp->u_arg[3]);
41 static const struct xlat cacheflush_flags[] = {
51 printaddr(tcp->u_arg[0]);
53 tprintf(", %ld, ", tcp->u_arg[1]);
55 printxval(cacheflush_flags, tcp->u_arg[1], "?CACHE");
62 static const struct xlat cacheflush_flags[] = {
63 #ifdef CACHEFLUSH_D_INVAL
64 XLAT(CACHEFLUSH_D_INVAL),
66 #ifdef CACHEFLUSH_D_WB
67 XLAT(CACHEFLUSH_D_WB),
69 #ifdef CACHEFLUSH_D_PURGE
70 XLAT(CACHEFLUSH_D_PURGE),
81 printaddr(tcp->u_arg[0]);
83 tprintf(", %lu, ", tcp->u_arg[1]);
85 printflags(cacheflush_flags, tcp->u_arg[2], "CACHEFLUSH_???");
95 printaddr(tcp->u_arg[0]);
97 tprintf(", %lu, ", tcp->u_arg[3]);
98 /* scope and flags (cache type) are currently ignored */