Changeset debe919 in rtems


Ignore:
Timestamp:
Apr 19, 1996, 9:10:58 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
767a6c6
Parents:
78b2ff1
Message:

event.c: _Event_Manager_initialization no longer a static inline

sem.c: modified to eliminate Purify warnings

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/rtems/src/event.c

    r78b2ff1 rdebe919  
    2222#include <rtems/score/thread.h>
    2323#include <rtems/rtems/tasks.h>
     24
     25/*PAGE
     26 *
     27 *  _Event_Manager_initialization
     28 *
     29 *  DESCRIPTION:
     30 *
     31 *  This routine performs the initialization necessary for this manager.
     32 */
     33 
     34void _Event_Manager_initialization( void )
     35{
     36  _Event_Sync_state = EVENT_SYNC_SYNCHRONIZED;
     37 
     38  /*
     39   *  Register the MP Process Packet routine.
     40   */
     41 
     42  _MPCI_Register_packet_processor( MP_PACKET_EVENT, _Event_MP_Process_packet );
     43}
    2444
    2545/*PAGE
  • c/src/exec/rtems/src/sem.c

    r78b2ff1 rdebe919  
    171171    /* Add priority ceiling code here ????? */
    172172
     173    the_mutex_attributes.priority_ceiling = priority_ceiling;
     174
    173175    if ( count == 1 )
    174176      lock = CORE_MUTEX_UNLOCKED;
     
    189191    else
    190192      the_semaphore_attributes.discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;
     193
     194    /*
     195     *  The following are just to make Purify happy.
     196     */
     197
     198    the_mutex_attributes.allow_nesting = TRUE;
     199    the_mutex_attributes.priority_ceiling = PRIORITY_MINIMUM;
    191200
    192201    _CORE_semaphore_Initialize(
  • cpukit/rtems/src/event.c

    r78b2ff1 rdebe919  
    2222#include <rtems/score/thread.h>
    2323#include <rtems/rtems/tasks.h>
     24
     25/*PAGE
     26 *
     27 *  _Event_Manager_initialization
     28 *
     29 *  DESCRIPTION:
     30 *
     31 *  This routine performs the initialization necessary for this manager.
     32 */
     33 
     34void _Event_Manager_initialization( void )
     35{
     36  _Event_Sync_state = EVENT_SYNC_SYNCHRONIZED;
     37 
     38  /*
     39   *  Register the MP Process Packet routine.
     40   */
     41 
     42  _MPCI_Register_packet_processor( MP_PACKET_EVENT, _Event_MP_Process_packet );
     43}
    2444
    2545/*PAGE
  • cpukit/rtems/src/sem.c

    r78b2ff1 rdebe919  
    171171    /* Add priority ceiling code here ????? */
    172172
     173    the_mutex_attributes.priority_ceiling = priority_ceiling;
     174
    173175    if ( count == 1 )
    174176      lock = CORE_MUTEX_UNLOCKED;
     
    189191    else
    190192      the_semaphore_attributes.discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;
     193
     194    /*
     195     *  The following are just to make Purify happy.
     196     */
     197
     198    the_mutex_attributes.allow_nesting = TRUE;
     199    the_mutex_attributes.priority_ceiling = PRIORITY_MINIMUM;
    191200
    192201    _CORE_semaphore_Initialize(
Note: See TracChangeset for help on using the changeset viewer.