aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/ChangeLog
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-08-08 20:42:21 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-08-08 20:42:21 +0000
commit77342e5ecc0d04f03bd7d8e48f2a1ce3a7ddbdd8 (patch)
tree2a17473812e9d0a36162269be10a988307303eef /sim/m68hc11/ChangeLog
parent53b3cd2254173d81b9be29572950a336386f9947 (diff)
downloadgdb-77342e5ecc0d04f03bd7d8e48f2a1ce3a7ddbdd8.zip
gdb-77342e5ecc0d04f03bd7d8e48f2a1ce3a7ddbdd8.tar.gz
gdb-77342e5ecc0d04f03bd7d8e48f2a1ce3a7ddbdd8.tar.bz2
* sim-main.h (phys_to_virt): Use memory bank parameters to translate
the physical address in virtual address. (struct _sim_cpu): Add memory bank members. * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters. * interp.c (sim_hw_configure): Create memory bank according to memory bank parameters. (sim_get_bank_parameters): New function to obtain memory bank config from the symbol table. (sim_prepare_for_program): Call it to obtain the memory bank parameters. (sim_open): Call sim_prepare_for_program. * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters to check if address is within bank window. (m68hc11cpu_io_read_buffer): Likewise. (attach_m68hc11_regs): Map the memory bank according to memory bank parameters.
Diffstat (limited to 'sim/m68hc11/ChangeLog')
-rw-r--r--sim/m68hc11/ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index 086f508..5cd46d0 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,3 +1,21 @@
+2003-08-08 Stephane Carrez <stcarrez@nerim.fr>
+
+ * sim-main.h (phys_to_virt): Use memory bank parameters to translate
+ the physical address in virtual address.
+ (struct _sim_cpu): Add memory bank members.
+ * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters.
+ * interp.c (sim_hw_configure): Create memory bank according to memory
+ bank parameters.
+ (sim_get_bank_parameters): New function to obtain memory bank config
+ from the symbol table.
+ (sim_prepare_for_program): Call it to obtain the memory bank parameters.
+ (sim_open): Call sim_prepare_for_program.
+ * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters
+ to check if address is within bank window.
+ (m68hc11cpu_io_read_buffer): Likewise.
+ (attach_m68hc11_regs): Map the memory bank according to memory bank
+ parameters.
+
2003-08-08 Stephane Carrez <stcarrez@nerim.fr>,
* sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.