At least some memory writes work.

Change-Id: I6fcf261341f10ec34df01bb844744439d02471a8
This commit is contained in:
Tim Newsome
2017-10-13 12:50:02 -07:00
parent e7bb815e87
commit 7ec7bc32fe
3 changed files with 93 additions and 129 deletions
+3
View File
@@ -40,6 +40,9 @@ struct riscv_program {
/* Initializes a program with the header. */
int riscv_program_init(struct riscv_program *p, struct target *t);
/* Write the program to the program buffer. */
int riscv_program_write(struct riscv_program *program);
/* Executes a program, returning 0 if the program successfully executed. Note
* that this may cause registers to be saved or restored, which could result to
* calls to things like riscv_save_register which itself could require a