summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-02-26 19:21:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-02-26 19:21:44 +0000
commitc2564b6c4a3feb76ba8400bf38894c73bf840c2a (patch)
tree9f1b72e06768e7a45184c0fd515c35a49a3e6e8d /cpukit
parent2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-c2564b6c4a3feb76ba8400bf38894c73bf840c2a.tar.bz2
2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add missing field to default multiprocessing configuration table. Also document fields in Doxygen format.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/sapi/include/rtems/config.h17
-rw-r--r--cpukit/sapi/include/rtems/sptables.h11
3 files changed, 23 insertions, 11 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 37c6d0512e..b190503b2d 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,11 @@
2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
+ * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
+ missing field to default multiprocessing configuration table. Also
+ document fields in Doxygen format.
+
+2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
+
* rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
warnings.
diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h
index 6ad6f9467c..1b06e9d240 100644
--- a/cpukit/sapi/include/rtems/config.h
+++ b/cpukit/sapi/include/rtems/config.h
@@ -6,7 +6,7 @@
* This include file contains the table of user defined configuration
* parameters.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -77,10 +77,14 @@ typedef void *itron_api_configuration_table;
* system.
*/
typedef struct {
- uint32_t node; /* local node number */
- uint32_t maximum_nodes; /* maximum # nodes in system */
- uint32_t maximum_global_objects; /* maximum # global objects */
- uint32_t maximum_proxies; /* maximum # proxies */
+ /** This is the local node number. */
+ uint32_t node;
+ /** This is the maximum number of nodes in system. */
+ uint32_t maximum_nodes;
+ /** This is the maximum number of global objects. */
+ uint32_t maximum_global_objects;
+ /** This is the maximum number of proxies. */
+ uint32_t maximum_proxies;
/** The MPCI Receive server is assumed to have a stack of at least
* minimum stack size. This field specifies the amount of extra
@@ -88,7 +92,8 @@ typedef struct {
*/
uint32_t extra_mpci_receive_server_stack;
- rtems_mpci_table *User_mpci_table; /* pointer to MPCI table */
+ /** This is a pointer to User/BSP provided MPCI Table. */
+ rtems_mpci_table *User_mpci_table;
} rtems_multiprocessing_table;
#endif
diff --git a/cpukit/sapi/include/rtems/sptables.h b/cpukit/sapi/include/rtems/sptables.h
index 226c9a30fb..64b93f5c98 100644
--- a/cpukit/sapi/include/rtems/sptables.h
+++ b/cpukit/sapi/include/rtems/sptables.h
@@ -55,11 +55,12 @@ extern "C" {
#if defined(SAPI_INIT)
const rtems_multiprocessing_table
_Initialization_Default_multiprocessing_table = {
- 1, /* local node number */
- 1, /* maximum number nodes in system */
- 0, /* maximum number global objects */
- 0, /* maximum number proxies */
- NULL, /* pointer to MPCI address table */
+ 1, /* local node number */
+ 1, /* maximum number nodes in system */
+ 0, /* maximum number global objects */
+ 0, /* maximum number proxies */
+ RTEMS_MINIMUM_STACK_SIZE, /* MPCI receive server stack size */
+ NULL, /* pointer to MPCI address table */
};
#else
extern const rtems_multiprocessing_table