#define TARGET__RISCV__PROGRAM_H
#include "riscv.h"
#define RISCV_MAX_DEBUG_BUFFER_SIZE
#define RISCV_REGISTER_COUNT
#define RISCV_DSCRATCH_COUNT
riscv_program
target
debug_buffer
instruction_count
writes_xreg
target_xlen
riscv_program_init(struct riscv_program *, struct target *);
riscv_program_write(struct riscv_program *);
riscv_program_exec(struct riscv_program *, struct target *);
riscv_program_insert(struct riscv_program *, riscv_insn_t);
riscv_program_ldr(struct riscv_program *, enum gdb_regno, enum gdb_regno, int);
riscv_program_lwr(struct riscv_program *, enum gdb_regno, enum gdb_regno, int);
riscv_program_lhr(struct riscv_program *, enum gdb_regno, enum gdb_regno, int);
riscv_program_lbr(struct riscv_program *, enum gdb_regno, enum gdb_regno, int);
riscv_program_sdr(struct riscv_program *, enum gdb_regno, enum gdb_regno, int);
riscv_program_swr(struct riscv_program *, enum gdb_regno, enum gdb_regno, int);
riscv_program_shr(struct riscv_program *, enum gdb_regno, enum gdb_regno, int);
riscv_program_sbr(struct riscv_program *, enum gdb_regno, enum gdb_regno, int);
riscv_program_csrrsi(struct riscv_program *, enum gdb_regno, unsigned int, enum gdb_regno);
riscv_program_csrrci(struct riscv_program *, enum gdb_regno, unsigned int, enum gdb_regno);
riscv_program_csrr(struct riscv_program *, enum gdb_regno, enum gdb_regno);
riscv_program_csrw(struct riscv_program *, enum gdb_regno, enum gdb_regno);
riscv_program_fence_i(struct riscv_program *);
riscv_program_fence(struct riscv_program *);
riscv_program_ebreak(struct riscv_program *);
riscv_program_addi(struct riscv_program *, enum gdb_regno, enum gdb_regno, int16_t);