OpenOCD
debug_reg_printer.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef OPENOCD_TARGET_RISCV_DEBUG_REG_PRINTER_H
4 #define OPENOCD_TARGET_RISCV_DEBUG_REG_PRINTER_H
5 
6 #include "debug_defines.h"
7 
12 };
13 
36 unsigned int riscv_debug_reg_to_s(char *buf, enum riscv_debug_reg_ordinal reg_ordinal,
37  struct riscv_debug_reg_ctx context, uint64_t value,
38  enum riscv_debug_reg_show show);
39 
40 #endif /* OPENOCD_TARGET_RISCV_DEBUG_REG_PRINTER_H */
riscv_debug_reg_ordinal
unsigned int riscv_debug_reg_to_s(char *buf, enum riscv_debug_reg_ordinal reg_ordinal, struct riscv_debug_reg_ctx context, uint64_t value, enum riscv_debug_reg_show show)
This function is used to fill a buffer with a decoded string representation of register's value.
riscv_debug_reg_show
@ RISCV_DEBUG_REG_HIDE_ALL_0
@ RISCV_DEBUG_REG_SHOW_ALL
@ RISCV_DEBUG_REG_HIDE_UNNAMED_0