From 790b50b8da754eba39e2c21d67bb9b14df966080 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 17 Dec 2008 22:46:05 +0000 Subject: 2008-12-17 Joel Sherrill * sapi/include/rtems/extension.h, sapi/include/rtems/io.h, sapi/src/exinit.c, sapi/src/extension.c, sapi/src/io.c, score/include/rtems/score/mpci.h, score/include/rtems/score/object.h, score/include/rtems/score/thread.h, score/include/rtems/score/tod.h, score/include/rtems/score/userext.h, score/include/rtems/score/wkspace.h, score/src/coretod.c, score/src/mpci.c, score/src/object.c, score/src/thread.c, score/src/userext.c, score/src/wkspace.c: Convert SAPI manager and SuperCore Handler initialization routines to directly pull parameters from configuration table. --- cpukit/score/include/rtems/score/mpci.h | 8 ++------ cpukit/score/include/rtems/score/object.h | 16 ---------------- cpukit/score/include/rtems/score/thread.h | 11 ++--------- cpukit/score/include/rtems/score/tod.h | 4 +--- cpukit/score/include/rtems/score/userext.h | 10 ++-------- cpukit/score/include/rtems/score/wkspace.h | 11 ++--------- 6 files changed, 9 insertions(+), 51 deletions(-) (limited to 'cpukit/score/include') diff --git a/cpukit/score/include/rtems/score/mpci.h b/cpukit/score/include/rtems/score/mpci.h index 1b65c3adc7..366e84f289 100644 --- a/cpukit/score/include/rtems/score/mpci.h +++ b/cpukit/score/include/rtems/score/mpci.h @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2006. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -197,15 +197,11 @@ SCORE_EXTERN MPCI_Packet_processor /** * This routine performs the initialization necessary for this handler. * - * @param[in] users_mpci_table is a pointer to the application configured - * MPCI Table. This table contains pointers to the MPCI Layers - * entry points. * @param[in] timeout_status is the value which should be returned to * blocking threads when they timeout on a remote operation. */ void _MPCI_Handler_initialization( - MPCI_Control *users_mpci_table, - uint32_t timeout_status + uint32_t timeout_status ); /** diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h index f1203bc8d5..3d02e5f9a7 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -434,26 +434,10 @@ SCORE_EXTERN Objects_Information */ #define OBJECTS_ID_FINAL ((Objects_Id)~0) -#if defined(RTEMS_MULTIPROCESSING) -/** - * This function performs the initialization necessary for this handler. - * - * @param[in] node indicates the identifying number of this node. - * @param[in] maximum_nodes is the maximum number of nodes in this system. - * @param[in] maximum_global_objects is maximum number of global objects - * concurrently offered in the system. - */ -void _Objects_Handler_initialization( - uint32_t node, - uint32_t maximum_nodes, - uint32_t maximum_global_objects -); -#else /** * This function performs the initialization necessary for this handler. */ void _Objects_Handler_initialization(void); -#endif /** * This function extends an object class information record. diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 1f79b49f8b..fc106240a3 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -506,21 +506,14 @@ SCORE_EXTERN struct _reent **_Thread_libc_reent; /** * This routine performs the initialization necessary for this handler. */ -void _Thread_Handler_initialization ( - uint32_t ticks_per_timeslice, - uint32_t maximum_extensions -#if defined(RTEMS_MULTIPROCESSING) - , - uint32_t maximum_proxies -#endif -); +void _Thread_Handler_initialization(void); /** * This routine creates the idle thread. * * @warning No thread should be created before this one. */ -void _Thread_Create_idle( void ); +void _Thread_Create_idle(void); /** * This routine initiates multitasking. It is invoked only as diff --git a/cpukit/score/include/rtems/score/tod.h b/cpukit/score/include/rtems/score/tod.h index fb3ac98140..31da246226 100644 --- a/cpukit/score/include/rtems/score/tod.h +++ b/cpukit/score/include/rtems/score/tod.h @@ -144,9 +144,7 @@ SCORE_EXTERN Timestamp_Control _TOD_Uptime; * * This routine performs the initialization necessary for this handler. */ -void _TOD_Handler_initialization( - uint32_t microseconds_per_tick -); +void _TOD_Handler_initialization(void); /** @brief _TOD_Set * diff --git a/cpukit/score/include/rtems/score/userext.h b/cpukit/score/include/rtems/score/userext.h index 8fa1d30deb..6c0c41164e 100644 --- a/cpukit/score/include/rtems/score/userext.h +++ b/cpukit/score/include/rtems/score/userext.h @@ -7,7 +7,7 @@ */ /* - * COPYRIGHT (c) 1989-2006. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -205,14 +205,8 @@ SCORE_EXTERN Chain_Control _User_extensions_Switches_list; /** @brief User extensions Handler Initialization * * This routine performs the initialization necessary for this handler. - * - * @param[in] number_of_extensions is the number of extensions - * @param[in] initial_extensions is the initial extension set */ -void _User_extensions_Handler_initialization ( - uint32_t number_of_extensions, - User_extensions_Table *initial_extensions -); +void _User_extensions_Handler_initialization(void); /** @brief User extensions Add to API extension set * diff --git a/cpukit/score/include/rtems/score/wkspace.h b/cpukit/score/include/rtems/score/wkspace.h index b4047c56fa..94979c6b9b 100644 --- a/cpukit/score/include/rtems/score/wkspace.h +++ b/cpukit/score/include/rtems/score/wkspace.h @@ -7,7 +7,7 @@ */ /* - * COPYRIGHT (c) 1989-2006. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -45,15 +45,8 @@ SCORE_EXTERN Heap_Control _Workspace_Area; /* executive heap header */ /** @brief Workspace Handler Initialization * * This routine performs the initialization necessary for this handler. - * - * @param[in] starting_address is the base address of the RTEMS Executive - * Workspace - * @param[in] size is the number of bytes in the RTEMS Executive Workspace */ -void _Workspace_Handler_initialization( - void *starting_address, - size_t size -); +void _Workspace_Handler_initialization(void); /** @brief Allocate Memory from Workspace * -- cgit v1.2.3