From c2564b6c4a3feb76ba8400bf38894c73bf840c2a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 26 Feb 2008 19:21:44 +0000 Subject: [PATCH] 2008-02-26 Joel Sherrill * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add missing field to default multiprocessing configuration table. Also document fields in Doxygen format. --- cpukit/ChangeLog | 6 ++++++ cpukit/sapi/include/rtems/config.h | 17 +++++++++++------ cpukit/sapi/include/rtems/sptables.h | 11 ++++++----- 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,3 +1,9 @@ +2008-02-26 Joel Sherrill + + * 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 * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some 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