summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/start/start.S
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 /c/src/lib/libbsp/powerpc/shared/start/start.S
parent2001-05-24 Tom Armistead <tom_armistead@phx.mcd.mot.com> (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.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/start/start.S')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/start/start.S6
1 files changed, 3 insertions, 3 deletions
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