PATCH: doc fix for d10v-tdep.c

Jim Blandy jimb@zwingli.cygnus.com
Thu Jun 28 16:16:00 GMT 2001


I've committed the following:

2001-06-28  Jim Blandy  <jimb@redhat.com>

	* d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.

Index: gdb/d10v-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/d10v-tdep.c,v
retrieving revision 1.18
diff -c -r1.18 d10v-tdep.c
*** gdb/d10v-tdep.c	2001/05/04 04:15:24	1.18
--- gdb/d10v-tdep.c	2001/06/28 20:02:53
***************
*** 193,200 ****
    return register_names[reg_nr];
  }
  
! /* Access the DMAP/IMAP registers in a target independent way. */
  
  static unsigned long
  d10v_ts2_dmap_register (int reg_nr)
  {
--- 194,214 ----
    return register_names[reg_nr];
  }
  
! /* Access the DMAP/IMAP registers in a target independent way.
  
+    Divide the D10V's 64k data space into four 16k segments:
+    0x0000 -- 0x3fff, 0x4000 -- 0x7fff, 0x8000 -- 0xbfff, and 
+    0xc000 -- 0xffff.
+ 
+    On the TS2, the first two segments (0x0000 -- 0x3fff, 0x4000 --
+    0x7fff) always map to the on-chip data RAM, and the fourth always
+    maps to I/O space.  The third (0x8000 - 0xbfff) can be mapped into
+    unified memory or instruction memory, under the control of the
+    single DMAP register.
+ 
+    On the TS3, there are four DMAP registers, each of which controls
+    one of the segments.  */
+ 
  static unsigned long
  d10v_ts2_dmap_register (int reg_nr)
  {



More information about the Gdb-patches mailing list