blob: 969e10eeb4188ec53095d16ecbb5812eccd38003 [file] [log] [blame]
Dmitry V. Levine36c72c2014-12-03 20:56:36 +00001#include "defs.h"
2
3#ifdef BFIN
4
5#include <bfin_sram.h>
6
7#include "xlat/sram_alloc_flags.h"
8
Dmitry V. Levina0bd3742015-04-07 01:36:50 +00009SYS_FUNC(sram_alloc)
Dmitry V. Levine36c72c2014-12-03 20:56:36 +000010{
Dmitry V. Levin490d58c2015-07-16 23:40:40 +000011 /* size */
12 tprintf("%lu, ", tcp->u_arg[0]);
13 /* flags */
Dmitry V. Levin5e2fc622016-05-16 23:31:59 +000014 printflags_long(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
Dmitry V. Levin490d58c2015-07-16 23:40:40 +000015
16 return RVAL_DECODED | RVAL_HEX;
Dmitry V. Levine36c72c2014-12-03 20:56:36 +000017}
18
19#endif /* BFIN */