summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-02-10 15:13:34 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-02-10 15:13:34 +0000
commit0567cb2d2331e0acd3c4a225f09fbe5882341ae0 (patch)
treec82b454ea93d5302e166054726c28ecbb861972f /c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h
parent2005-02-10 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-0567cb2d2331e0acd3c4a225f09fbe5882341ae0.tar.bz2
2005-02-10 Ralf Corsepius <ralf.corsepius@rtems.org>
* cpu.c, cpu_asm.S, irq_stub.S, rtems/score/ppc_offs.h: Remove PPC_ABI_POWEROPEN.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h b/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h
index 21959fc29a..85086f5a69 100644
--- a/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h
+++ b/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h
@@ -106,11 +106,8 @@
#endif
.set IP_LINK, 0
-#if (PPC_ABI == PPC_ABI_POWEROPEN)
- .set IP_0, (IP_LINK + 56)
-#else
+/* PPC_ABI_EABI */
.set IP_0, (IP_LINK + 8)
-#endif
.set IP_2, (IP_0 + 4)
.set IP_3, (IP_2 + 4)
@@ -148,14 +145,11 @@
.set Disable_level, 4
.set Vector_table, 8
.set Stack, 12
-#if (PPC_ABI == PPC_ABI_POWEROPEN)
- .set Dispatch_r2, 16
- .set Switch_necessary, 20
-#else
+/* PPC_ABI_EABI */
.set Default_r2, 16
.set Default_r13, 20
.set Switch_necessary, 24
-#endif
+
.set Signal, Switch_necessary + 4
.set msr_initial, Signal + 4