This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/sim/m68hc11 ChangeLog dv-m68hc11.c interp. ...
- From: ciceron at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 8 Aug 2003 20:42:21 -0000
- Subject: src/sim/m68hc11 ChangeLog dv-m68hc11.c interp. ...
CVSROOT: /cvs/src
Module name: src
Changes by: ciceron@sourceware.org 2003-08-08 20:42:21
Modified files:
sim/m68hc11 : ChangeLog dv-m68hc11.c interp.c m68hc11_sim.c
sim-main.h
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/m68hc11/ChangeLog.diff?cvsroot=src&r1=1.36&r2=1.37
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/m68hc11/dv-m68hc11.c.diff?cvsroot=src&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/m68hc11/interp.c.diff?cvsroot=src&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/m68hc11/m68hc11_sim.c.diff?cvsroot=src&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/m68hc11/sim-main.h.diff?cvsroot=src&r1=1.11&r2=1.12