2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>

* start/start.S: include <rtems/powerpc/powerpc.h>.
	Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
	CPU_MINIMUM_STACK_FRAME_SIZE.
This commit is contained in:
Ralf Corsepius
2005-02-17 04:28:21 +00:00
parent cc043dc3d2
commit 2195ccf382
4 changed files with 19 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* start/start.S: include <rtems/powerpc/powerpc.h>.
Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
CPU_MINIMUM_STACK_FRAME_SIZE.
2005-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Remove argument from RTEMS_PPC_EXCEPTIONS.

View File

@@ -15,6 +15,7 @@
#include <rtems/asm.h>
#include <rtems/score/cpu.h>
#include <rtems/powerpc/powerpc.h>
#include <libcpu/io.h>
#define SYNC \
@@ -118,8 +119,8 @@ enter_C_code:
/*
* stack = &__rtems_end + 4096
*/
addis r9,r0, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@ha
addi r9,r9, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@l
addis r9,r0, __rtems_end+(4096-PPC_MINIMUM_STACK_FRAME_SIZE)@ha
addi r9,r9, __rtems_end+(4096-PPC_MINIMUM_STACK_FRAME_SIZE)@l
mr r1, r9
/*
* We are know in a environment that is totally independent from bootloader setup.

View File

@@ -1,3 +1,9 @@
2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* start/start.S: include <rtems/powerpc/powerpc.h>.
Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
CPU_MINIMUM_STACK_FRAME_SIZE.
2005-02-12 Joel Sherrill <joel@OARcorp.com>
* pci/pci.h: Remove contents that are duplicates of the pci.h in cpukit

View File

@@ -13,6 +13,8 @@
#include <rtems/asm.h>
#include <rtems/score/cpu.h>
#include <rtems/powerpc/powerpc.h>
#include <libcpu/io.h>
#include <bspopts.h>
@@ -112,8 +114,8 @@ enter_C_code:
/*
* stack = &__rtems_end + 4096
*/
addis r9,r0, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@ha
addi r9,r9, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@l
addis r9,r0, __rtems_end+(4096-PPC_MINIMUM_STACK_FRAME_SIZE)@ha
addi r9,r9, __rtems_end+(4096-PPC_MINIMUM_STACK_FRAME_SIZE)@l
mr r1, r9
/*
* We are now in a environment that is totally independent from