source: rtems/c/src/exec/score/cpu/powerpc/README @ 2ff1d549

4.104.114.84.95
Last change on this file since 2ff1d549 was 5c491aef, checked in by Joel Sherrill <joel.sherrill@…>, on 12/20/95 at 15:39:19

changes remerged after lost in disk crash -- recovered from snapshot, partially recovered working tree, etc

  • Property mode set to 100644
File size: 2.1 KB
Line 
1#
2#  $Id$
3#
4
5There are various issues regarding this port:
6
7
8
91) Legal
10
11This port is written by Andrew Bray <andy@i-cubed.co.uk>, and
12is copyright 1995 i-cubed ltd.
13
14
15
162) CPU support.
17
18This release fully supports the IBM PPC403GA and PPC403GB processors.
19
20It has only been tested on the PPC403GA (using software floating
21point).
22
23With the gratefully acknowledged assistance of IBM and Blue Micro,
24this release contains code to support the following processors
25  PPC601, PPC603, PPC603e, PPC604, and PPC602.
26
27The support for these processors is incomplete, especially that for
28the PPC602 for which only sketchy data is currently available.
29
30
31
323) Application Binary INterface
33
34In the context of RTEMS, the ABI is of interest for the following
35aspects:
36
37a)  Register usage.  Which registers are used to provide static variable
38    linkage, stack pointer etc.
39
40b)  Function calling convention.  How parameters are passed, how function
41    variables should be invoked, how values are returned, etc.
42
43c)  Stack frame layout.
44
45I am aware of a number of ABIs for the PowerPC:
46
47a)  The PowerOpen ABI.  This is the original Power ABI used on the RS/6000.
48    This is the only ABI supported by versions of GCC before 2.7.0.
49
50b)  The SVR4 ABI.  This is the ABI defined by SunSoft for the Solaris port
51    to the PowerPC.
52
53c)  The Embedded ABI.  This is an embedded ABI for PowerPC use, which has no
54    operating system interface defined.  It is promoted by SunSoft, Motorola,
55    and Cygnus Support.  Cygnus are porting the GNU toolchain to this ABI.
56
57d)  GCC 2.7.0.  This compiler is partway along the road to supporting the EABI,
58    but is currently halfway in between.
59
60This port was built and tested using the PowerOpen ABI, with the following
61caveat:  we used an ELF assembler and linker.  So some attention may be required
62on the assembler files to get them through a traditional (XCOFF) PowerOpen
63assembler.
64
65This port contains support for the other ABIs, but this may prove to be incomplete
66as it is untested.
67
68In the long term, the RTEMS PowerPC port should move to the EABI as its primary
69or only port.  This should wait on a true EABI version of GCC.
70
71Andrew Bray 4/December/1995
Note: See TracBrowser for help on using the repository browser.