blob: a27941abdb226317606091f1defbf98b84785f07 [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{
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;
18}
19
20#endif /* BFIN */