Changeset 7d5077c in rtems
- Timestamp:
- 07/24/00 19:18:42 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 3c51181
- Parents:
- 14b35d47
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/shared/start/start.S
r14b35d47 r7d5077c 79 79 80 80 /* 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. 82 87 */ 83 88 84 89 enter_C_code: 85 90 bl MMUon 86 /*87 * stack = &__rtems_end + 409688 */89 addis r9,r0, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@ha90 addi r9,r9, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@l91 mr r1, r992 91 bl zero_bss 93 92 /* … … 100 99 mr r7,r27 101 100 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 */ 102 110 bl boot_card 103 111 bl _return_to_ppcbug
Note: See TracChangeset
for help on using the changeset viewer.