summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-24 20:17:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-24 20:17:38 +0000
commit9a23bf64539470303abc6b4c68489b0f433ad177 (patch)
tree97c1c3e222672cb1d2621925a442281ed78c027c
parent133ddf2ed6212bff27cee48357a41fd07a9673c3 (diff)
downloadrtems-9a23bf64539470303abc6b4c68489b0f433ad177.tar.bz2
2001-05-24 Tom Armistead <tom_armistead@phx.mcd.mot.com>
* start/start.S: Increased BAT0 mapping of RAM from 64 meg to 256 meg to allow operation on boards with larger RAM sizes. * vectors/vectors_init.c: Modified to call 'generic' powerpc vector function (mpc60x_vector_is_valid) instead of MPC750 specific function to allow operation on boards with CPUs other than the MPC750.
-rw-r--r--c/src/lib/libbsp/powerpc/shared/ChangeLog9
-rw-r--r--c/src/lib/libbsp/powerpc/shared/start/start.S6
-rw-r--r--c/src/lib/libbsp/powerpc/shared/vectors/vectors_init.c2
3 files changed, 13 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/ChangeLog b/c/src/lib/libbsp/powerpc/shared/ChangeLog
index 9a1c1c9758..ab60363a64 100644
--- a/c/src/lib/libbsp/powerpc/shared/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/shared/ChangeLog
@@ -1,3 +1,12 @@
+2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * console/Makefile.am: Use 'PREINSTALL_FILES ='.
+ * residual/Makefile.am: Use 'PREINSTALL_FILES ='.
+ * irq/Makefile.am: Use 'PREINSTALL_FILES ='.
+ * motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
+ * vectors/Makefile.am: Use 'PREINSTALL_FILES ='.
+ * pci/Makefile.am: Use 'PREINSTALL_FILES ='.
+ * openpic/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-05-14 Tom Armistead <tom_armistead@phx.mcd.mot.com>
diff --git a/c/src/lib/libbsp/powerpc/shared/start/start.S b/c/src/lib/libbsp/powerpc/shared/start/start.S
index 25c7d038b9..845dbf7d58 100644
--- a/c/src/lib/libbsp/powerpc/shared/start/start.S
+++ b/c/src/lib/libbsp/powerpc/shared/start/start.S
@@ -63,11 +63,11 @@ __rtems_entry_point:
bl clear_bats
bl flush_tlbs
/*
- * Use the first pair of BAT registers to map the 1st 64MB
+ * Use the first pair of BAT registers to map the 1st 256MB
* of RAM to KERNELBASE.
*/
lis r11,KERNELBASE@h
- ori r11,r11,0x7fe /* set up BAT registers for 604 */
+ ori r11,r11,0x1ffe /* set up BAT registers for 604 */
li r8,2 /* R/W access */
isync
mtspr DBAT0L,r8 /* N.B. 6xx (not 601) have valid */
@@ -77,7 +77,7 @@ __rtems_entry_point:
isync
/*
- * we now have the 1st 64M of ram mapped with the bats. We are still
+ * we now have the 1st 256M of ram mapped with the bats. We are still
* running on the bootloader stack and cannot switch to an RTEMS allocated
* init stack before copying the residual data that may have been set just after
* rtems_end address. This bug has been experienced on MVME2304. Thank to
diff --git a/c/src/lib/libbsp/powerpc/shared/vectors/vectors_init.c b/c/src/lib/libbsp/powerpc/shared/vectors/vectors_init.c
index 8d0a500185..ac43bc8c9b 100644
--- a/c/src/lib/libbsp/powerpc/shared/vectors/vectors_init.c
+++ b/c/src/lib/libbsp/powerpc/shared/vectors/vectors_init.c
@@ -110,7 +110,7 @@ void initialize_exceptions()
*/
exception_config.defaultRawEntry.hdl.raw_hdl_size = (unsigned) &default_exception_vector_code_prolog_size;
for (i=0; i <= exception_config.exceptSize; i++) {
- if (!mpc750_vector_is_valid (i)) {
+ if (!mpc60x_vector_is_valid (i)) {
continue;
}
exception_table[i].exceptIndex = i;