strace/sram_alloc.c
Dmitry V. Levin 490d58c394 sram_alloc.c: make use of RVAL_DECODED
* sram_alloc.c [BFIN] (sys_sram_alloc): Update for RVAL_DECODED.
2015-07-16 23:44:57 +00:00

20 lines
287 B
C

#include "defs.h"
#ifdef BFIN
#include <bfin_sram.h>
#include "xlat/sram_alloc_flags.h"
SYS_FUNC(sram_alloc)
{
/* size */
tprintf("%lu, ", tcp->u_arg[0]);
/* flags */
printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
return RVAL_DECODED | RVAL_HEX;
}
#endif /* BFIN */