cacheflush.c: make use of RVAL_DECODED
* cacheflush.c (sys_cacheflush): Update for RVAL_DECODED.
This commit is contained in:
parent
bb16ee1f65
commit
4b6fc98816
74
cacheflush.c
74
cacheflush.c
@ -22,19 +22,18 @@ static const struct xlat cacheflush_flags[] = {
|
||||
|
||||
SYS_FUNC(cacheflush)
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
/* addr */
|
||||
printaddr(tcp->u_arg[0]);
|
||||
tprints(", ");
|
||||
/* scope */
|
||||
printxval(cacheflush_scope, tcp->u_arg[1], "FLUSH_SCOPE_???");
|
||||
tprints(", ");
|
||||
/* flags */
|
||||
printflags(cacheflush_flags, tcp->u_arg[2], "FLUSH_CACHE_???");
|
||||
/* len */
|
||||
tprintf(", %lu", tcp->u_arg[3]);
|
||||
}
|
||||
return 0;
|
||||
/* addr */
|
||||
printaddr(tcp->u_arg[0]);
|
||||
tprints(", ");
|
||||
/* scope */
|
||||
printxval(cacheflush_scope, tcp->u_arg[1], "FLUSH_SCOPE_???");
|
||||
tprints(", ");
|
||||
/* flags */
|
||||
printflags(cacheflush_flags, tcp->u_arg[2], "FLUSH_CACHE_???");
|
||||
/* len */
|
||||
tprintf(", %lu", tcp->u_arg[3]);
|
||||
|
||||
return RVAL_DECODED;
|
||||
}
|
||||
#endif /* M68K */
|
||||
|
||||
@ -48,15 +47,14 @@ static const struct xlat cacheflush_flags[] = {
|
||||
|
||||
SYS_FUNC(cacheflush)
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
/* start addr */
|
||||
printaddr(tcp->u_arg[0]);
|
||||
/* length */
|
||||
tprintf(", %ld, ", tcp->u_arg[1]);
|
||||
/* flags */
|
||||
printxval(cacheflush_flags, tcp->u_arg[1], "?CACHE");
|
||||
}
|
||||
return 0;
|
||||
/* start addr */
|
||||
printaddr(tcp->u_arg[0]);
|
||||
/* length */
|
||||
tprintf(", %ld, ", tcp->u_arg[1]);
|
||||
/* flags */
|
||||
printxval(cacheflush_flags, tcp->u_arg[1], "?CACHE");
|
||||
|
||||
return RVAL_DECODED;
|
||||
}
|
||||
#endif /* BFIN */
|
||||
|
||||
@ -79,28 +77,26 @@ static const struct xlat cacheflush_flags[] = {
|
||||
|
||||
SYS_FUNC(cacheflush)
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
/* addr */
|
||||
printaddr(tcp->u_arg[0]);
|
||||
/* len */
|
||||
tprintf(", %lu, ", tcp->u_arg[1]);
|
||||
/* flags */
|
||||
printflags(cacheflush_flags, tcp->u_arg[2], "CACHEFLUSH_???");
|
||||
}
|
||||
return 0;
|
||||
/* addr */
|
||||
printaddr(tcp->u_arg[0]);
|
||||
/* len */
|
||||
tprintf(", %lu, ", tcp->u_arg[1]);
|
||||
/* flags */
|
||||
printflags(cacheflush_flags, tcp->u_arg[2], "CACHEFLUSH_???");
|
||||
|
||||
return RVAL_DECODED;
|
||||
}
|
||||
#endif /* SH */
|
||||
|
||||
#ifdef NIOS2
|
||||
SYS_FUNC(cacheflush)
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
/* addr */
|
||||
printaddr(tcp->u_arg[0]);
|
||||
/* len */
|
||||
tprintf(", %lu, ", tcp->u_arg[3]);
|
||||
/* scope and flags (cache type) are currently ignored */
|
||||
}
|
||||
return 0;
|
||||
/* addr */
|
||||
printaddr(tcp->u_arg[0]);
|
||||
/* len */
|
||||
tprintf(", %lu, ", tcp->u_arg[3]);
|
||||
/* scope and flags (cache type) are currently ignored */
|
||||
|
||||
return RVAL_DECODED;
|
||||
}
|
||||
#endif /* NIOS2 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user