summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/score/cpu/m68k/ChangeLog14
-rw-r--r--c/src/exec/score/cpu/m68k/sim.h9
-rw-r--r--cpukit/score/cpu/m68k/ChangeLog14
-rw-r--r--cpukit/score/cpu/m68k/rtems/m68k/sim.h9
-rw-r--r--cpukit/score/cpu/m68k/sim.h9
5 files changed, 40 insertions, 15 deletions
diff --git a/c/src/exec/score/cpu/m68k/ChangeLog b/c/src/exec/score/cpu/m68k/ChangeLog
index 7f281f20c9..ba91f67418 100644
--- a/c/src/exec/score/cpu/m68k/ChangeLog
+++ b/c/src/exec/score/cpu/m68k/ChangeLog
@@ -1,3 +1,17 @@
+2000-10-12 John S Gwynne <jgwynne@mrcday.com>
+
+ * sim.h: These changes enable RTEMS to automatically generate
+ the ram_init file used by gdb with the BDM patches. The 332 has
+ on-board chip select lines (for RAM and FLASH) that must be
+ configured before use of these peripherals. These patches parse
+ data from start.c where the chip select lines are configured in
+ the runtime executable and automatically generates the gdb
+ initialization file using the same settings. A great time saver.
+ A similar file, ram_init_FW (flash writable), is also generated
+ that the flash programming tool uses.
+ * BSP/start/start.c: Must be modified to support above.
+ * BSP/start/ram_init.ld, BSP/start/ram_init.sed: New files.
+
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am.
diff --git a/c/src/exec/score/cpu/m68k/sim.h b/c/src/exec/score/cpu/m68k/sim.h
index 9354412390..db2ec89d3a 100644
--- a/c/src/exec/score/cpu/m68k/sim.h
+++ b/c/src/exec/score/cpu/m68k/sim.h
@@ -68,16 +68,15 @@
/* SIM_CRB (SIM Control Register Block) base address of the SIM
control registers */
-/* not included in ram_init.h */
+#ifndef SIM_CRB
#if SIM_MM == 0
#define SIM_CRB 0x7ffa00
-#else
+#else /* SIM_MM */
#undef SIM_MM
#define SIM_MM 1
#define SIM_CRB 0xfffa00
-#endif
-/* end not included in ram_init.h */
-
+#endif /* SIM_MM */
+#endif /* SIM_CRB */
#define SIMCR SIM_VOLATILE_USHORT_POINTER(0x00 + SIM_CRB)
diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog
index 7f281f20c9..ba91f67418 100644
--- a/cpukit/score/cpu/m68k/ChangeLog
+++ b/cpukit/score/cpu/m68k/ChangeLog
@@ -1,3 +1,17 @@
+2000-10-12 John S Gwynne <jgwynne@mrcday.com>
+
+ * sim.h: These changes enable RTEMS to automatically generate
+ the ram_init file used by gdb with the BDM patches. The 332 has
+ on-board chip select lines (for RAM and FLASH) that must be
+ configured before use of these peripherals. These patches parse
+ data from start.c where the chip select lines are configured in
+ the runtime executable and automatically generates the gdb
+ initialization file using the same settings. A great time saver.
+ A similar file, ram_init_FW (flash writable), is also generated
+ that the flash programming tool uses.
+ * BSP/start/start.c: Must be modified to support above.
+ * BSP/start/ram_init.ld, BSP/start/ram_init.sed: New files.
+
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am.
diff --git a/cpukit/score/cpu/m68k/rtems/m68k/sim.h b/cpukit/score/cpu/m68k/rtems/m68k/sim.h
index 9354412390..db2ec89d3a 100644
--- a/cpukit/score/cpu/m68k/rtems/m68k/sim.h
+++ b/cpukit/score/cpu/m68k/rtems/m68k/sim.h
@@ -68,16 +68,15 @@
/* SIM_CRB (SIM Control Register Block) base address of the SIM
control registers */
-/* not included in ram_init.h */
+#ifndef SIM_CRB
#if SIM_MM == 0
#define SIM_CRB 0x7ffa00
-#else
+#else /* SIM_MM */
#undef SIM_MM
#define SIM_MM 1
#define SIM_CRB 0xfffa00
-#endif
-/* end not included in ram_init.h */
-
+#endif /* SIM_MM */
+#endif /* SIM_CRB */
#define SIMCR SIM_VOLATILE_USHORT_POINTER(0x00 + SIM_CRB)
diff --git a/cpukit/score/cpu/m68k/sim.h b/cpukit/score/cpu/m68k/sim.h
index 9354412390..db2ec89d3a 100644
--- a/cpukit/score/cpu/m68k/sim.h
+++ b/cpukit/score/cpu/m68k/sim.h
@@ -68,16 +68,15 @@
/* SIM_CRB (SIM Control Register Block) base address of the SIM
control registers */
-/* not included in ram_init.h */
+#ifndef SIM_CRB
#if SIM_MM == 0
#define SIM_CRB 0x7ffa00
-#else
+#else /* SIM_MM */
#undef SIM_MM
#define SIM_MM 1
#define SIM_CRB 0xfffa00
-#endif
-/* end not included in ram_init.h */
-
+#endif /* SIM_MM */
+#endif /* SIM_CRB */
#define SIMCR SIM_VOLATILE_USHORT_POINTER(0x00 + SIM_CRB)