aboutsummaryrefslogtreecommitdiff
path: root/sim/or1k/or1k-sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/or1k/or1k-sim.h')
-rw-r--r--sim/or1k/or1k-sim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/or1k/or1k-sim.h b/sim/or1k/or1k-sim.h
index c956a05..045f171 100644
--- a/sim/or1k/or1k-sim.h
+++ b/sim/or1k/or1k-sim.h
@@ -70,8 +70,8 @@ void or1k32bf_mtspr (sim_cpu *current_cpu, USI addr, USI val);
int or1k32bf_fetch_register (sim_cpu *current_cpu, int rn, unsigned char *buf,
int len);
-int or1k32bf_store_register (sim_cpu *current_cpu, int rn, unsigned char *buf,
- int len);
+int or1k32bf_store_register (sim_cpu *current_cpu, int rn,
+ const unsigned char *buf, int len);
int or1k32bf_model_or1200_u_exec (sim_cpu *current_cpu, const IDESC *idesc,
int unit_num, int referenced);
int or1k32bf_model_or1200nd_u_exec (sim_cpu *current_cpu, const IDESC *idesc,