OAR

RTEMS 4.5.1-pre3 On-Line Library


Multiprocessing Manager INITIALIZATION

PREV UP NEXT Bookshelf RTEMS C User's Guide

23.3.1: INITIALIZATION

The INITIALIZATION component of the user-provided MPCI layer is called as part of the rtems_initialize_executive directive to initialize the MPCI layer and associated hardware. It is invoked immediately after all of the device drivers have been initialized. This component should be adhere to the following prototype:

rtems_mpci_entry user_mpci_initialization(
  rtems_configuration_table *configuration
);

where configuration is the address of the user's Configuration Table. Operations on global objects cannot be performed until this component is invoked. The INITIALIZATION component is invoked only once in the life of any system. If the MPCI layer cannot be successfully initialized, the fatal error manager should be invoked by this routine.

One of the primary functions of the MPCI layer is to provide the executive with packet buffers. The INITIALIZATION routine must create and initialize a pool of packet buffers. There must be enough packet buffers so RTEMS can obtain one whenever needed.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2000 OAR Corporation