Dmitry V. Levin
92e347b556
We do our best to keep copyright headers up to date, yet git history provides better information on this subject and is more accurate than copyright headers.
27 lines
420 B
C
27 lines
420 B
C
/*
|
|
* Copyright (c) 2014-2018 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 */
|
|
tprintf("%lu, ", tcp->u_arg[0]);
|
|
/* flags */
|
|
printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
|
|
|
|
return RVAL_DECODED | RVAL_HEX;
|
|
}
|
|
|
|
#endif /* BFIN */
|