blob: a8372ea303db140d3d9885b02402da06fd3bd37f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
* Copyright (c) 2014-2021 The strace developers.
* All rights reserved.
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "defs.h"
#ifdef BFIN
# include <bfin_sram.h>
# include "xlat/sram_alloc_flags.h"
SYS_FUNC(sram_alloc)
{
/* size */
PRINT_VAL_U(tcp->u_arg[0]);
tprint_arg_next();
/* flags */
printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
return RVAL_DECODED | RVAL_HEX;
}
#endif /* BFIN */
|