From 9a23bf64539470303abc6b4c68489b0f433ad177 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 24 May 2001 20:17:38 +0000 Subject: 2001-05-24 Tom Armistead * 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. --- c/src/lib/libbsp/powerpc/shared/ChangeLog | 9 +++++++++ c/src/lib/libbsp/powerpc/shared/start/start.S | 6 +++--- c/src/lib/libbsp/powerpc/shared/vectors/vectors_init.c | 2 +- 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 + + * 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 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; -- cgit v1.2.3