Changeset 584ab9e in rtems


Ignore:
Timestamp:
Dec 18, 2008, 5:15:13 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
534c893
Parents:
b6bebc3b
Message:

2008-12-18 Joel Sherrill <joel.sherrill@…>

  • rtems/include/rtems/rtems/regionmp.h, sapi/include/rtems/config.h, sapi/src/exinit.c, score/Makefile.am, score/include/rtems/score/object.h, score/include/rtems/score/objectmp.h, score/src/objectmp.c: Eliminate Object Handler Initialization routine since it was all for MP configurations.
  • score/src/object.c: Removed.
Location:
cpukit
Files:
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rb6bebc3b r584ab9e  
     12008-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * rtems/include/rtems/rtems/regionmp.h, sapi/include/rtems/config.h,
     4        sapi/src/exinit.c, score/Makefile.am,
     5        score/include/rtems/score/object.h,
     6        score/include/rtems/score/objectmp.h, score/src/objectmp.c: Eliminate
     7        Object Handler Initialization routine since it was all for MP
     8        configurations.
     9        * score/src/object.c: Removed.
     10
    1112008-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
    212
  • cpukit/rtems/include/rtems/rtems/regionmp.h

    rb6bebc3b r584ab9e  
    8888  Objects_Id                   region_id,
    8989  void                        *segment,
    90   uint32_t                     size,
     90  intptr_t                     size,
    9191  rtems_option                 option_set,
    9292  rtems_interval               timeout
  • cpukit/sapi/include/rtems/config.h

    rb6bebc3b r584ab9e  
    173173 *   This is the configuration table generated by confdefs.h.
    174174 */
    175 extern rtems_configuration_table        Configuration;
     175extern rtems_configuration_table  Configuration;
    176176
    177177#if defined(RTEMS_MULTIPROCESSING)
     
    181181  SAPI_EXTERN rtems_multiprocessing_table  *_Configuration_MP_table;
    182182#endif
     183
     184#if defined(RTEMS_MULTIPROCESSING)
     185  /**
     186   *  @brief RTEMS Multiprocessing Configuration Table
     187   *
     188   *  This is the RTEMS Multiprocessing Configuration Table expected to
     189   *  be generated by confdefs.h.
     190   */
     191  extern rtems_multiprocessing_table  Multiprocessing_configuration;
     192#endif
     193
    183194
    184195/*
  • cpukit/sapi/src/exinit.c

    rb6bebc3b r584ab9e  
    116116  _User_extensions_Handler_initialization();
    117117  _ISR_Handler_initialization();
    118   _Objects_Handler_initialization();
    119118
    120119  /*
     
    133132
    134133  #if defined(RTEMS_MULTIPROCESSING)
     134    _Objects_MP_Handler_initialization();
    135135    _MPCI_Handler_initialization( RTEMS_TIMEOUT );
    136136  #endif
  • cpukit/score/Makefile.am

    rb6bebc3b r584ab9e  
    114114
    115115## OBJECT_C_FILES
    116 libscore_a_SOURCES += src/object.c src/objectallocate.c src/objectclose.c \
     116libscore_a_SOURCES += src/objectallocate.c src/objectclose.c \
    117117    src/objectextendinformation.c src/objectfree.c src/objectget.c \
    118118    src/objectgetisr.c src/objectgetnext.c src/objectinitializeinformation.c \
  • cpukit/score/include/rtems/score/object.h

    rb6bebc3b r584ab9e  
    436436
    437437/**
    438  *  This function performs the initialization necessary for this handler.
    439  */
    440 void _Objects_Handler_initialization(void);
    441 
    442 /**
    443438 *  This function extends an object class information record.
    444439 *
  • cpukit/score/include/rtems/score/objectmp.h

    rb6bebc3b r584ab9e  
    5151 *  This routine intializes the inactive global object chain
    5252 *  based on the maximum number of global objects configured.
    53  *
    54  *  @param[in] node is this node's number.
    55  *  @param[in] maximum_nodes is the maximum number of nodes in the system.
    56  *  @param[in] maximum_global_objects is the maximum number of concurrently
    57  *             created global objects.
    5853 */
    59 void _Objects_MP_Handler_initialization (
    60   uint32_t   node,
    61   uint32_t   maximum_nodes,
    62   uint32_t   maximum_global_objects
    63 );
     54void _Objects_MP_Handler_initialization(void);
    6455
    6556/** @brief Objects MP Open
  • cpukit/score/src/objectmp.c

    rb6bebc3b r584ab9e  
    1818
    1919#include <rtems/system.h>
     20#include <rtems/config.h>
    2021#include <rtems/score/interr.h>
    2122#include <rtems/score/object.h>
     
    2930 */
    3031
    31 void _Objects_MP_Handler_initialization (
    32   uint32_t   node,
    33   uint32_t   maximum_nodes,
    34   uint32_t   maximum_global_objects
    35 )
    36 {
     32void _Objects_MP_Handler_initialization(void)
     33{
     34  uint32_t   node;
     35  uint32_t   maximum_nodes;
     36  uint32_t   maximum_global_objects;
     37
     38  node                   = _Configuration_MP_table->node;
     39  maximum_nodes          = _Configuration_MP_table->maximum_nodes;
     40  maximum_global_objects = _Configuration_MP_table->maximum_global_objects;
     41
     42  if ( node < 1 || node > maximum_nodes )
     43    _Internal_error_Occurred(
     44      INTERNAL_ERROR_CORE,
     45      TRUE,
     46      INTERNAL_ERROR_INVALID_NODE
     47    );
     48
     49
     50  _Objects_Local_node    = node;
     51  _Objects_Maximum_nodes = maximum_nodes;
    3752  _Objects_MP_Maximum_global_objects = maximum_global_objects;
    3853
Note: See TracChangeset for help on using the changeset viewer.