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 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 Ada record:
type Multiprocessing_Table is record Node : RTEMS.Unsigned32; Maximum_Nodes : RTEMS.Unsigned32; Maximum_Global_Objects : RTEMS.Unsigned32; Maximum_Proxies : RTEMS.Unsigned32; User_MPCI_Table : RTEMS.MPCI_Table_Pointer; end record; type Multiprocessing_Table_Pointer is access all Multiprocessing_Table;
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.
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.
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.
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.
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