Changeset 7d5077c in rtems


Ignore:
Timestamp:
Jul 24, 2000, 7:18:42 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3c51181
Parents:
14b35d47
Message:

Patch from Eric Valette <valette@…> with debugging
by Till Straumann <strauman@…>. With this
patch, the motorola_shared BSP should also support the MVME2303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/start/start.S

    r14b35d47 r7d5077c  
    7979
    8080/*
    81  * we now have the 1st 64M of ram mapped with the bats.
     81 * we now have the 1st 64M of ram mapped with the bats. We are still
     82 * running on the bootloader stack and cannot switch to an RTEMS allocated
     83 * init stack before copying the residual data that may have been set just after
     84 * rtems_end address. This bug has been experienced on MVME2304. Thank to
     85 * Till Straumann <strauman@SLAC.Stanford.EDU> for hunting it and suggesting
     86 * the appropriate code.
    8287 */
    8388       
    8489enter_C_code:
    8590        bl      MMUon
    86         /*
    87          * stack = &__rtems_end + 4096
    88          */
    89         addis   r9,r0, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@ha
    90         addi    r9,r9, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@l
    91         mr      r1, r9
    9291        bl      zero_bss
    9392        /*
     
    10099        mr      r7,r27
    101100        bl      save_boot_params
     101        /*
     102         * stack = &__rtems_end + 4096
     103         */
     104        addis   r9,r0, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@ha
     105        addi    r9,r9, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@l
     106        mr      r1, r9
     107        /*
     108         * We are know in a environment that is totally independent from bootloader setup.
     109         */
    102110        bl      boot_card
    103111        bl      _return_to_ppcbug
Note: See TracChangeset for help on using the changeset viewer.