Changeset 0577ec1d in rtems for cpukit/sapi/src/exinit.c


Ignore:
Timestamp:
Jul 1, 2002, 10:31:29 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
90015e7f
Parents:
ef9505a
Message:

2002-07-01 Joel Sherrill <joel@…>

  • Mega patch merge to change the format of the object IDs to loosen the dependency between the SCORE and the various APIs. There was considerable work to simplify the object name management and it appears that the name_table field is no longer needed. This patch also includes the addition of the internal mutex which is currently only used to protect some types of allocation and deallocation. This significantly can reduce context switch latency under certain circumstances. In particular, some heap/region operations were O(n) and had dispatching disabled. This should help enormously. With this merge, the patch is not as clean as it should be. In particular, the documentation has not been modified to reflect the new object ID layout, the IDs in the test screens are not updated, and _Objects_Get_information needs to be a real routine not inlined. As part of this patch a lot of MP code for thread/proxy blocking was made conditional and cleaned up.
  • include/confdefs.h, src/exinit.c, src/extension.c, src/itronapi.c, src/posixapi.c, src/rtemsapi.c: Modified as part of above.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/exinit.c

    ref9505a r0577ec1d  
    3030
    3131#include <rtems/score/apiext.h>
    32 #if 0
    3332#include <rtems/score/apimutex.h>
    34 #endif
    3533#include <rtems/score/copyrt.h>
    3634#include <rtems/score/heap.h>
     
    5957#endif
    6058
     59Objects_Information *_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ];
    6160
    6261/*PAGE
     
    126125
    127126  _System_state_Handler_initialization( FALSE );
    128 
    129127#endif
    130128
     
    183181  );
    184182
     183  _Objects_Information_table[OBJECTS_INTERNAL_API] = _Internal_Objects;
     184
    185185  _Priority_Handler_initialization();
    186186
     
    203203
    204204/* MANAGERS */
     205
     206  _RTEMS_API_Initialize( configuration_table );
    205207
    206208  _Extension_Manager_initialization( configuration_table->maximum_extensions );
     
    212214    configuration_table->maximum_devices
    213215  );
    214 
    215   _RTEMS_API_Initialize( configuration_table );
    216216
    217217#ifdef RTEMS_POSIX_API
Note: See TracChangeset for help on using the changeset viewer.