The Multiprocessor Configuration Table contains
information needed when using RTEMS in a multiprocessor
configuration. Many of the details associated with configuring
a multiprocessor system are dependent on the multiprocessor
communications layer provided by the user. The address of the
Multiprocessor Configuration Table should be placed in the
User_multiprocessing_table
entry in the primary Configuration
Table. Further details regarding many of the entries in the
Multiprocessor Configuration Table will be provided in the
Multiprocessing chapter.
When using the rtems/confdefs.h
mechanism for configuring
an RTEMS application, the macro CONFIGURE_MP_APPLICATION
must
be defined to automatically generate the Multiprocessor Configuration Table.
If CONFIGURE_MP_APPLICATION
, is not defined, then a NULL pointer
is configured as the address of this table.
The format of the Multiprocessor Configuration Table is defined in the following C structure:
typedef struct { rtems_unsigned32 node; rtems_unsigned32 maximum_nodes; rtems_unsigned32 maximum_global_objects; rtems_unsigned32 maximum_proxies; rtems_mpci_table *User_mpci_table; } rtems_multiprocessing_table;
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MP_NODE_NUMBER
.
If not defined by the application, then the CONFIGURE_MP_NODE_NUMBER
macro defaults to the value of the NODE_NUMBER
macro which is
set on the compiler command line by the RTEMS Multiprocessing Test Suites.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MP_MAXIMUM_NODES
.
If not defined by the application, then the CONFIGURE_MP_MAXIMUM_NODES
macro defaults to the value 2.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS
.
If not defined by the application, then the
CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS
macro defaults to the value 32.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MP_MAXIMUM_PROXIES
.
If not defined by the application, then the CONFIGURE_MP_MAXIMUM_PROXIES
macro defaults to the value 32.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MP_MPCI_TABLE_POINTER
.
If not defined by the application, then the
CONFIGURE_MP_MPCI_TABLE_POINTER
macro defaults to the
address of the table named MPCI_table
.
Copyright © 1988-2004 OAR Corporation