diff options
author | wxjstz <wxjstz@126.com> | 2021-05-21 02:55:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 11:55:47 -0700 |
commit | b36d176721d3ba4774600d6ba57eb9cc745be96a (patch) | |
tree | 10bb5461ea9f8b331a51649aaf2b59b760464bc8 /src/target | |
parent | 19f7b5c43c24977f24059e88477410658b7da466 (diff) | |
download | riscv-openocd-b36d176721d3ba4774600d6ba57eb9cc745be96a.zip riscv-openocd-b36d176721d3ba4774600d6ba57eb9cc745be96a.tar.gz riscv-openocd-b36d176721d3ba4774600d6ba57eb9cc745be96a.tar.bz2 |
remove needless function declaration from src/target/riscv/program.h (#608)
Signed-off-by: Xiang W <wxjstz@126.com>
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/riscv/program.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/target/riscv/program.h b/src/target/riscv/program.h index 2fa925a..62a04f0 100644 --- a/src/target/riscv/program.h +++ b/src/target/riscv/program.h @@ -40,20 +40,10 @@ int riscv_program_write(struct riscv_program *program); * program to execute. That's OK, just make sure this eventually terminates. * */ int riscv_program_exec(struct riscv_program *p, struct target *t); -int riscv_program_load(struct riscv_program *p, struct target *t); - -/* Clears a program, removing all the state associated with it. */ -int riscv_program_clear(struct riscv_program *p, struct target *t); /* A lower level interface, you shouldn't use this unless you have a reason. */ int riscv_program_insert(struct riscv_program *p, riscv_insn_t i); -/* There is hardware support for saving at least one register. This register - * doesn't need to be saved/restored the usual way, which is useful during - * early initialization when we can't save/restore arbitrary registerrs to host - * memory. */ -int riscv_program_save_to_dscratch(struct riscv_program *p, enum gdb_regno to_save); - /* Helpers to assemble various instructions. Return 0 on success. These might * assemble into a multi-instruction sequence that overwrites some other * register, but those will be properly saved and restored. */ |