sram_alloc.c: make use of RVAL_DECODED

* sram_alloc.c [BFIN] (sys_sram_alloc): Update for RVAL_DECODED.
This commit is contained in:
Дмитрий Левин 2015-07-16 23:40:40 +00:00
parent fd55b54112
commit 490d58c394

View File

@ -8,13 +8,12 @@
SYS_FUNC(sram_alloc)
{
if (entering(tcp)) {
/* size */
tprintf("%lu, ", tcp->u_arg[0]);
/* flags */
printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
}
return 1;
/* size */
tprintf("%lu, ", tcp->u_arg[0]);
/* flags */
printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
return RVAL_DECODED | RVAL_HEX;
}
#endif /* BFIN */