Changeset a2d0f39 in rtems


Ignore:
Timestamp:
May 17, 1999, 10:56:13 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c06d8f64
Parents:
3270ca6
Message:

Moved some MP routines to semmp.c.

Files:
4 edited

Legend:

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

    r3270ca6 ra2d0f39  
    570570  return RTEMS_INTERNAL_ERROR;   /* unreached - only to remove warnings */
    571571}
    572 
    573 /*PAGE
    574  *
    575  *  _Semaphore_Core_mutex_mp_support
    576  *
    577  *  Input parameters:
    578  *    the_thread - the remote thread the semaphore was surrendered to
    579  *    id         - id of the surrendered semaphore
    580  *
    581  *  Output parameters: NONE
    582  */
    583  
    584 #if defined(RTEMS_MULTIPROCESSING)
    585 void  _Semaphore_Core_mutex_mp_support (
    586   Thread_Control *the_thread,
    587   Objects_Id      id
    588 )
    589 {
    590   the_thread->receive_packet->return_code = RTEMS_SUCCESSFUL;
    591  
    592   _Semaphore_MP_Send_response_packet(
    593      SEMAPHORE_MP_OBTAIN_RESPONSE,
    594      id,
    595      the_thread
    596    );
    597 }
    598 #endif
    599 
    600 
    601 /*PAGE
    602  *
    603  *  _Semaphore_Core_semaphore_mp_support
    604  *
    605  *  Input parameters:
    606  *    the_thread - the remote thread the semaphore was surrendered to
    607  *    id         - id of the surrendered semaphore
    608  *
    609  *  Output parameters: NONE
    610  */
    611  
    612 #if defined(RTEMS_MULTIPROCESSING)
    613 void  _Semaphore_Core_semaphore_mp_support (
    614   Thread_Control *the_thread,
    615   Objects_Id      id
    616 )
    617 {
    618   the_thread->receive_packet->return_code = RTEMS_SUCCESSFUL;
    619  
    620   _Semaphore_MP_Send_response_packet(
    621      SEMAPHORE_MP_OBTAIN_RESPONSE,
    622      id,
    623      the_thread
    624    );
    625 }
    626 #endif
  • c/src/exec/rtems/src/semmp.c

    r3270ca6 ra2d0f39  
    306306}
    307307
     308/*PAGE
     309 *
     310 *  _Semaphore_Core_mutex_mp_support
     311 *
     312 *  Input parameters:
     313 *    the_thread - the remote thread the semaphore was surrendered to
     314 *    id         - id of the surrendered semaphore
     315 *
     316 *  Output parameters: NONE
     317 */
     318 
     319#if defined(RTEMS_MULTIPROCESSING)
     320void  _Semaphore_Core_mutex_mp_support (
     321  Thread_Control *the_thread,
     322  Objects_Id      id
     323)
     324{
     325  the_thread->receive_packet->return_code = RTEMS_SUCCESSFUL;
     326 
     327  _Semaphore_MP_Send_response_packet(
     328     SEMAPHORE_MP_OBTAIN_RESPONSE,
     329     id,
     330     the_thread
     331   );
     332}
     333#endif
     334
     335
     336/*PAGE
     337 *
     338 *  _Semaphore_Core_semaphore_mp_support
     339 *
     340 *  Input parameters:
     341 *    the_thread - the remote thread the semaphore was surrendered to
     342 *    id         - id of the surrendered semaphore
     343 *
     344 *  Output parameters: NONE
     345 */
     346 
     347#if defined(RTEMS_MULTIPROCESSING)
     348void  _Semaphore_Core_semaphore_mp_support (
     349  Thread_Control *the_thread,
     350  Objects_Id      id
     351)
     352{
     353  the_thread->receive_packet->return_code = RTEMS_SUCCESSFUL;
     354 
     355  _Semaphore_MP_Send_response_packet(
     356     SEMAPHORE_MP_OBTAIN_RESPONSE,
     357     id,
     358     the_thread
     359   );
     360}
     361#endif
    308362/* end of file */
  • cpukit/rtems/src/sem.c

    r3270ca6 ra2d0f39  
    570570  return RTEMS_INTERNAL_ERROR;   /* unreached - only to remove warnings */
    571571}
    572 
    573 /*PAGE
    574  *
    575  *  _Semaphore_Core_mutex_mp_support
    576  *
    577  *  Input parameters:
    578  *    the_thread - the remote thread the semaphore was surrendered to
    579  *    id         - id of the surrendered semaphore
    580  *
    581  *  Output parameters: NONE
    582  */
    583  
    584 #if defined(RTEMS_MULTIPROCESSING)
    585 void  _Semaphore_Core_mutex_mp_support (
    586   Thread_Control *the_thread,
    587   Objects_Id      id
    588 )
    589 {
    590   the_thread->receive_packet->return_code = RTEMS_SUCCESSFUL;
    591  
    592   _Semaphore_MP_Send_response_packet(
    593      SEMAPHORE_MP_OBTAIN_RESPONSE,
    594      id,
    595      the_thread
    596    );
    597 }
    598 #endif
    599 
    600 
    601 /*PAGE
    602  *
    603  *  _Semaphore_Core_semaphore_mp_support
    604  *
    605  *  Input parameters:
    606  *    the_thread - the remote thread the semaphore was surrendered to
    607  *    id         - id of the surrendered semaphore
    608  *
    609  *  Output parameters: NONE
    610  */
    611  
    612 #if defined(RTEMS_MULTIPROCESSING)
    613 void  _Semaphore_Core_semaphore_mp_support (
    614   Thread_Control *the_thread,
    615   Objects_Id      id
    616 )
    617 {
    618   the_thread->receive_packet->return_code = RTEMS_SUCCESSFUL;
    619  
    620   _Semaphore_MP_Send_response_packet(
    621      SEMAPHORE_MP_OBTAIN_RESPONSE,
    622      id,
    623      the_thread
    624    );
    625 }
    626 #endif
  • cpukit/rtems/src/semmp.c

    r3270ca6 ra2d0f39  
    306306}
    307307
     308/*PAGE
     309 *
     310 *  _Semaphore_Core_mutex_mp_support
     311 *
     312 *  Input parameters:
     313 *    the_thread - the remote thread the semaphore was surrendered to
     314 *    id         - id of the surrendered semaphore
     315 *
     316 *  Output parameters: NONE
     317 */
     318 
     319#if defined(RTEMS_MULTIPROCESSING)
     320void  _Semaphore_Core_mutex_mp_support (
     321  Thread_Control *the_thread,
     322  Objects_Id      id
     323)
     324{
     325  the_thread->receive_packet->return_code = RTEMS_SUCCESSFUL;
     326 
     327  _Semaphore_MP_Send_response_packet(
     328     SEMAPHORE_MP_OBTAIN_RESPONSE,
     329     id,
     330     the_thread
     331   );
     332}
     333#endif
     334
     335
     336/*PAGE
     337 *
     338 *  _Semaphore_Core_semaphore_mp_support
     339 *
     340 *  Input parameters:
     341 *    the_thread - the remote thread the semaphore was surrendered to
     342 *    id         - id of the surrendered semaphore
     343 *
     344 *  Output parameters: NONE
     345 */
     346 
     347#if defined(RTEMS_MULTIPROCESSING)
     348void  _Semaphore_Core_semaphore_mp_support (
     349  Thread_Control *the_thread,
     350  Objects_Id      id
     351)
     352{
     353  the_thread->receive_packet->return_code = RTEMS_SUCCESSFUL;
     354 
     355  _Semaphore_MP_Send_response_packet(
     356     SEMAPHORE_MP_OBTAIN_RESPONSE,
     357     id,
     358     the_thread
     359   );
     360}
     361#endif
    308362/* end of file */
Note: See TracChangeset for help on using the changeset viewer.