Dmitry V. Levin | e36c72c | 2014-12-03 20:56:36 +0000 | [diff] [blame] | 1 | #include "defs.h" |
2 | |||||
3 | #ifdef BFIN | ||||
4 | |||||
5 | #include <bfin_sram.h> | ||||
6 | |||||
7 | #include "xlat/sram_alloc_flags.h" | ||||
8 | |||||
Dmitry V. Levin | a0bd374 | 2015-04-07 01:36:50 +0000 | [diff] [blame] | 9 | SYS_FUNC(sram_alloc) |
Dmitry V. Levin | e36c72c | 2014-12-03 20:56:36 +0000 | [diff] [blame] | 10 | { |
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 */ |