From 9ef4651c4930423f9678832f793343059d4ef9ad Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 15 Nov 2015 00:17:02 -0800 Subject: sim: mcore: switch to common sim-reg This is not entirely useful as mcore doesn't (yet) store its register state in the cpu state, but it does allow for switching to the common code for these functions. --- sim/mcore/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sim/mcore/ChangeLog') diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index af698e0..d89050d 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -1,5 +1,14 @@ 2015-11-15 Mike Frysinger + * Makefile.in (SIM_OBJS): Add sim-reg.o. + * interp.c (sim_store_register): Rename to ... + (mcore_reg_store): ... this. Change SIM_DESC to SIM_CPU. + (sim_fetch_register): Rename to ... + (mcore_reg_fetch): ... this. Change SIM_DESC to SIM_CPU. + (sim_open): Call CPU_REG_FETCH and CPU_REG_STORE. + +2015-11-15 Mike Frysinger + * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-resume.o. * interp.c (struct mcore_regset): Delete exception. (util): Add SIM_DESC and SIM_CPU args. Call sim_engine_halt instead -- cgit v1.1