Skip to content

Commit 490d58c

Browse files
committed
sram_alloc.c: make use of RVAL_DECODED
* sram_alloc.c [BFIN] (sys_sram_alloc): Update for RVAL_DECODED.
1 parent fd55b54 commit 490d58c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

sram_alloc.c

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@
88

99
SYS_FUNC(sram_alloc)
1010
{
11-
if (entering(tcp)) {
12-
/* size */
13-
tprintf("%lu, ", tcp->u_arg[0]);
14-
/* flags */
15-
printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
16-
}
17-
return 1;
11+
/* size */
12+
tprintf("%lu, ", tcp->u_arg[0]);
13+
/* flags */
14+
printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
15+
16+
return RVAL_DECODED | RVAL_HEX;
1817
}
1918

2019
#endif /* BFIN */

0 commit comments

Comments
 (0)