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 */
+ printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
+
+ return RVAL_DECODED | RVAL_HEX;
}
#endif /* BFIN */