Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sram_alloc.c 422B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2014-2018 The strace developers.
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #include "defs.h"
  8. #ifdef BFIN
  9. # include <bfin_sram.h>
  10. # include "xlat/sram_alloc_flags.h"
  11. SYS_FUNC(sram_alloc)
  12. {
  13. /* size */
  14. tprintf("%lu, ", tcp->u_arg[0]);
  15. /* flags */
  16. printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
  17. return RVAL_DECODED | RVAL_HEX;
  18. }
  19. #endif /* BFIN */