diff options
Diffstat (limited to 'include/sim')
-rw-r--r-- | include/sim/sim.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sim/sim.h b/include/sim/sim.h index ae8f194..4afdf01 100644 --- a/include/sim/sim.h +++ b/include/sim/sim.h @@ -203,7 +203,8 @@ int sim_fetch_register (SIM_DESC sd, int regno, unsigned char *buf, int length); Return a LENGTH of 0 to indicate the register was not updated but no error has occurred. */ -int sim_store_register (SIM_DESC sd, int regno, unsigned char *buf, int length); +int sim_store_register (SIM_DESC sd, int regno, const unsigned char *buf, + int length); /* Print whatever statistics the simulator has collected. |