aboutsummaryrefslogtreecommitdiff
path: root/sram_alloc.c
blob: 922746bbc6d3755c4ff16b9dc785ab78eedf34f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "defs.h"

#ifdef BFIN

#include <bfin_sram.h>

#include "xlat/sram_alloc_flags.h"

SYS_FUNC(sram_alloc)
{
	/* size */
	tprintf("%lu, ", tcp->u_arg[0]);
	/* flags */
	printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");

	return RVAL_DECODED | RVAL_HEX;
}

#endif /* BFIN */