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 | { |
Dmitry V. Levin | 490d58c | 2015-07-16 23:40:40 +0000 | [diff] [blame] | 11 | /* size */ |
| 12 | tprintf("%lu, ", tcp->u_arg[0]); |
| 13 | /* flags */ |
Elliott Hughes | d35df49 | 2017-02-15 15:19:05 -0800 | [diff] [blame] | 14 | printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM"); |
Dmitry V. Levin | 490d58c | 2015-07-16 23:40:40 +0000 | [diff] [blame] | 15 | |
| 16 | return RVAL_DECODED | RVAL_HEX; |
Dmitry V. Levin | e36c72c | 2014-12-03 20:56:36 +0000 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | #endif /* BFIN */ |