• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "defs.h"
2 
3 #ifdef BFIN
4 
5 #include <bfin_sram.h>
6 
7 #include "xlat/sram_alloc_flags.h"
8 
SYS_FUNC(sram_alloc)9 SYS_FUNC(sram_alloc)
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 */
21