/
githubmirror
/
strace
Обзор
Документация
Войти
/
githubmirror
/
strace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v6.14
src/sram_alloc.c
28 строк
438 B
Dmitry V. Levin
sram_alloc: use print_fields.h helpers
15 мар 2021, 11:00
15 мар 2021, 11:00
d00730d
Код
Авторство
О чём код?
/* * 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 */