From c85fc61074e9fab1bafbae97ea4628c7bffaaf76 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 12 Apr 2015 05:49:31 -0400 Subject: sim: microblaze: switch to common memory functions Re-use the existing memory core that handles reads/writes. This drops support for the dumpmem command, but gdb itself has support for dumping memory regions. The verbose command is converted to the common --verbose flag since only two call sites use it now. Support for the clearstats command is dropped entirely, but no other sim really does this, and the same thing can be done by reloading. If it's important (clearing cycle stats) to someone, we can add a common function for it. --- sim/microblaze/ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'sim/microblaze/ChangeLog') diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index 8ac3a26..7bfb657 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -1,5 +1,25 @@ 2015-04-17 Mike Frysinger + * interp.c (issue_messages, wbat, wlat, what, rbat, rlat, rhat, + sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers, sim_write, + sim_read, sim_do_command): Delete. + (set_initial_gprs): Delete memsize and call to init_pointers. + (sim_resume): Change rlat to MEM_RD_WORD. Change issue_messages to + STATE_VERBOSE_P. + (sim_store_register, sim_fetch_register): Drop call to init_pointers. + (sim_open): Drop issue_messages setup. Delete osize and call to + sim_size. Call sim_do_commandf to set the memory size. + * microblaze.h (MEM): Delete. + (MEM_RD_BYTE): Change rbat to sim_core_read_1. + (MEM_RD_HALF): Change rhat to sim_core_read_2. + (MEM_RD_WORD): Change rlat to sim_core_read_4. + (MEM_WR_BYTE): Change wbat to sim_core_write_1. + (MEM_WR_HALF): Change what to sim_core_write_2. + (MEM_WR_WORD): Change wlat to sim_core_write_4. + * sim-main.h (microblaze_regset): Delete msize and memory. + +2015-04-17 Mike Frysinger + * sim-main.h (CIA_GET, CIA_SET): Delete. 2015-04-17 Mike Frysinger -- cgit v1.1