diff options
Diffstat (limited to 'sim/avr/ChangeLog')
-rw-r--r-- | sim/avr/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog index 410caca..e72bcf4 100644 --- a/sim/avr/ChangeLog +++ b/sim/avr/ChangeLog @@ -1,5 +1,22 @@ 2015-11-21 Mike Frysinger <vapier@gentoo.org> + * interp.c (pc, cycles, avr_pc22): Delete. + (do_call): Add cpu to arguments. Declare sd. Change pc to cpu->pc, + avr_pc22 to sd->avr_pc22, and cycles to cpu->cycles. + (gen_mul): Add cpu to arguments. Change cycles to cpu->cycles. + (step_once): Change pc to cpu->pc, avr_pc22 to sd->avr_pc22, and + cycles to cpu->cycles. Pass cpu to do_call and gen_mul calls. + (avr_reg_store, avr_reg_fetch, avr_pc_get, avr_pc_set): Change pc + to cpu->pc. + (sim_open): Likewise. Declare cpu. + (sim_create_inferior): Declare cpu and addr. Change pc to addr and + call sim_pc_set. Change avr_pc22 to sd->avr_pc22. + * sim-main.h (pc): Delete. + (struct _sim_cpu): Add pc and cycles. + (struct sim_state): Add avr_pc22. + +2015-11-21 Mike Frysinger <vapier@gentoo.org> + * interp.c (sim_store_register): Rename to ... (avr_reg_store): ... this. Adjust signature. (sim_fetch_register): Rename to ... |