RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


PowerPC Specific Information Calling Conventions

PREV UP NEXT Bookshelf RTEMS CPU Architecture Supplement

6.2: Calling Conventions

  • PowerPC Specific Information Programming Model
  • PowerPC Specific Information Call and Return Mechanism
  • PowerPC Specific Information Calling Mechanism
  • PowerPC Specific Information Register Usage
  • PowerPC Specific Information Parameter Passing
  • PowerPC Specific Information User-Provided Routines
  • Each high-level language compiler generates subroutine entry and exit code based upon a set of rules known as the compiler's calling convention. These rules address the following issues:

    A compiler's calling convention is of importance when interfacing to subroutines written in another language either assembly or high-level. Even when the high-level language and target processor are the same, different compilers may use different calling conventions. As a result, calling conventions are both processor and compiler dependent.

    RTEMS supports the Embedded Application Binary Interface (EABI) calling convention. Documentation for EABI is available by sending a message with a subject line of "EABI" to eabi@goth.sis.mot.com.


    PREV UP NEXT Bookshelf RTEMS CPU Architecture Supplement

    Copyright © 1988-2004 OAR Corporation