darling-gdb/sim/d10v
Martin Hunt c422ecc7a4 Tue Oct 29 12:13:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* interp.c (sim_size): Now allocates unified memory for imap segments
	0,1,2, and 127. Initializes imap0 and imap1 to 0x1000.  Initializes dmap to 0.
	(sim_write): Just call xfer_mem().
	(sim_read): Just call xfer_mem().
	(xfer_mem): New function. Does appropriate memory mapping and copies bytes.
	(dmem_addr): New function. Reads dmap register and translates data
 	addresses to local addresses.
	(pc_addr): New function. Reads imap register and computes local address
	corresponding to contents of the PC.
	(sim_resume): Change to use pc_addr().
	(sim_create_inferior): Change reinitialization code. Also reinitializes
	imap[01] and dmap.
	(sim_fetch_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.
	(sim_store_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.

	* simops.c (MEMPTR): Redefine to use dmem_addr().
	(OP_5F00): Replace references to STate.imem with dmem_addr().

	* d10v-sim.h (State): Remove mem_min and mem_max. Add umem[128].
	(RB,SW,RW,SLW,RLW): Redefine to use dmem_addr().
	(IMAP0,IMAP1,DMAP,SET_IMAP,SET_IMAP1,SET_DMAP): Define.
1996-10-29 20:31:08 +00:00
..
.Sanitize Make read/write memory functions inlined 1996-10-16 22:14:23 +00:00
ChangeLog Tue Oct 29 12:13:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 1996-10-29 20:31:08 +00:00
configure First cut at dealing with canadian crosses; make -t in debugger set d10v_debug if DEBUG 1996-09-04 18:50:13 +00:00
configure.in Make simulated loads/stores faster on x86, AIX, and big endian hosts 1996-10-17 16:47:51 +00:00
d10v_sim.h Tue Oct 29 12:13:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 1996-10-29 20:31:08 +00:00
endian.c Make read/write memory functions inlined 1996-10-16 22:16:21 +00:00
interp.c Tue Oct 29 12:13:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 1996-10-29 20:31:08 +00:00
Makefile.in Make read/write memory functions inlined 1996-10-16 22:14:23 +00:00
simops.c Tue Oct 29 12:13:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 1996-10-29 20:31:08 +00:00