From 7bebb329bbad32b948939c5f437b2b4eebe7e9fd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 13 Apr 2015 02:09:55 -0400 Subject: sim: mips: convert to sim-cpu Make cpu allocation fully dynamic so we can leverage the common sim-cpu and its APIs. --- sim/mips/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'sim/mips/ChangeLog') diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index cd655eb..a962f84 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,5 +1,16 @@ 2015-04-13 Mike Frysinger + * Makefile.in (SIM_OBJS): Add sim-cpu.o. + * interp.c (mips_pc_get, mips_pc_set): New functions. + (sim_open): Declare new local var i. Call sim_cpu_alloc_all. + Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. + (sim_pc_get): Delete. + * sim-main.h (SIM_CPU): Define. + (struct sim_state): Change cpu to an array of pointers. + (STATE_CPU): Drop &. + +2015-04-13 Mike Frysinger + * interp.c (mips_option_handler, open_trace, sim_close, sim_write, sim_read, sim_store_register, sim_fetch_register, sim_create_inferior, pr_addr, pr_uword64): Convert old style -- cgit v1.1