Changeset 64f55e7 in rtems


Ignore:
Timestamp:
Nov 29, 1999, 3:40:38 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1d9a2fc
Parents:
61581a1
Message:

Made sure POSIX would build with MP enabled.

Files:
14 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/Makefile.am

    r61581a1 r64f55e7  
    3333    mqueuesendsupp.c mqueuesetattr.c mqueuetimedreceive.c mqueuetimedsend.c \
    3434    mqueueunlink.c
     35
    3536MUTEX_C_FILES = mutex.c mutexattrdestroy.c mutexattrgetprioceiling.c \
    3637    mutexattrgetprotocol.c mutexattrgetpshared.c mutexattrinit.c \
  • c/src/exec/posix/src/mutexmp.c

    r61581a1 r64f55e7  
    4949}
    5050
    51 void POSIX_Threads_mutex_MP_support(
     51void _POSIX_Threads_mutex_MP_support(
    5252  Thread_Control *the_thread,
    5353  Objects_Id      id
  • c/src/exec/posix/src/mutexsetprioceiling.c

    r61581a1 r64f55e7  
    6767        the_mutex->Object.id,
    6868#if defined(RTEMS_MULTIPROCESSING)
    69         POSIX_Threads_mutex_MP_support
     69        _POSIX_Threads_mutex_MP_support
    7070#else
    7171        NULL
  • c/src/exec/posix/src/mutexunlock.c

    r61581a1 r64f55e7  
    5050        the_mutex->Object.id,
    5151#if defined(RTEMS_MULTIPROCESSING)
    52         POSIX_Threads_mutex_MP_support
     52        _POSIX_Threads_mutex_MP_support
    5353#else
    5454        NULL
  • c/src/exec/posix/src/semaphoremp.c

    r61581a1 r64f55e7  
    1717#include <rtems/posix/seterr.h>
    1818
    19 void POSIX_Semaphore_MP_support(
    20   Thread_Control *the_thread,
    21   Objects_Id      id
     19#if defined(RTEMS_MULTIPROCESSING)
     20/*
     21 *  _POSIX_Semaphore_MP_Send_process_packet
     22 *
     23 *  DESCRIPTION:
     24 *
     25 *  This routine performs a remote procedure call so that a
     26 *  process operation can be performed on another node.
     27 */
     28
     29void _POSIX_Semaphore_MP_Send_process_packet(
     30  POSIX_Semaphore_MP_Remote_operations  operation,
     31  Objects_Id                            semaphore_id,
     32  Objects_Name                          name,
     33  Objects_Id                            proxy_id
    2234)
    2335{
    24   (void) POSIX_MP_NOT_IMPLEMENTED();
     36  POSIX_MP_NOT_IMPLEMENTED();
    2537}
     38
     39/*
     40 *  _POSIX_Semaphore_MP_Send_request_packet
     41 *
     42 *  DESCRIPTION:
     43 *
     44 *  This routine performs a remote procedure call so that a
     45 *  directive operation can be initiated on another node.
     46 */
     47
     48int _POSIX_Semaphore_MP_Send_request_packet(
     49  POSIX_Semaphore_MP_Remote_operations  operation,
     50  Objects_Id                            semaphore_id,
     51  boolean                               wait,  /* XXX options */
     52  Watchdog_Interval                     timeout
     53)
     54{
     55  POSIX_MP_NOT_IMPLEMENTED();
     56  return 0;
     57}
     58
     59/*
     60 *  _POSIX_Semaphore_MP_Send_response_packet
     61 *
     62 *  DESCRIPTION:
     63 *
     64 *  This routine performs a remote procedure call so that a
     65 *  directive can be performed on another node.
     66 */
     67
     68void _POSIX_Semaphore_MP_Send_response_packet(
     69  POSIX_Semaphore_MP_Remote_operations  operation,
     70  Objects_Id                        semaphore_id,
     71  Thread_Control                   *the_thread
     72)
     73{
     74  POSIX_MP_NOT_IMPLEMENTED();
     75}
     76
     77/*
     78 *
     79 *  _POSIX_Semaphore_MP_Process_packet
     80 *
     81 *  DESCRIPTION:
     82 *
     83 *  This routine performs the actions specific to this package for
     84 *  the request from another node.
     85 */
     86
     87void _POSIX_Semaphore_MP_Process_packet(
     88  MP_packet_Prefix *the_packet_prefix
     89)
     90{
     91  POSIX_MP_NOT_IMPLEMENTED();
     92}
     93
     94/*
     95 *  _POSIX_Semaphore_MP_Send_object_was_deleted
     96 *
     97 *  DESCRIPTION:
     98 *
     99 *  This routine is invoked indirectly by the thread queue
     100 *  when a proxy has been removed from the thread queue and
     101 *  the remote node must be informed of this.
     102 */
     103
     104void _POSIX_Semaphore_MP_Send_object_was_deleted(
     105  Thread_Control *the_proxy
     106)
     107{
     108  POSIX_MP_NOT_IMPLEMENTED();
     109}
     110
     111/*
     112 *  _POSIX_Semaphore_MP_Send_extract_proxy
     113 *
     114 *  DESCRIPTION:
     115 *
     116 *  This routine is invoked when a task is deleted and it
     117 *  has a proxy which must be removed from a thread queue and
     118 *  the remote node must be informed of this.
     119 */
     120
     121void _POSIX_Semaphore_MP_Send_extract_proxy(
     122  Thread_Control *the_thread
     123)
     124{
     125  POSIX_MP_NOT_IMPLEMENTED();
     126}
     127
     128/*
     129 *  _POSIX_Semaphore_MP_Get_packet
     130 *
     131 *  DESCRIPTION:
     132 *
     133 *  This function is used to obtain a semaphore mp packet.
     134 */
     135
     136POSIX_Semaphore_MP_Packet *_POSIX_Semaphore_MP_Get_packet( void )
     137{
     138  POSIX_MP_NOT_IMPLEMENTED();
     139  return NULL;
     140}
     141
     142#endif /* endif RTEMS_MULTIPROCESSING */
  • c/src/exec/posix/src/sempost.c

    r61581a1 r64f55e7  
    4242        the_semaphore->Object.id,
    4343#if defined(RTEMS_MULTIPROCESSING)
    44         POSIX_Semaphore_MP_support
     44        NULL         /* XXX need to define a routine to handle this case */
    4545#else
    4646        NULL
  • c/src/exec/posix/src/semunlink.c

    r61581a1 r64f55e7  
    3434  register POSIX_Semaphore_Control *the_semaphore;
    3535  Objects_Id                        the_semaphore_id;
    36   Objects_Locations                 location;
    3736 
    3837  _Thread_Disable_dispatch();
     
    5352  }
    5453
    55   the_semaphore = _Objects_Get_local_object(
     54  the_semaphore = (POSIX_Semaphore_Control *) _Objects_Get_local_object(
    5655    &_POSIX_Semaphore_Information,
    5756    _Objects_Get_index( the_semaphore_id )
  • cpukit/posix/src/Makefile.am

    r61581a1 r64f55e7  
    3333    mqueuesendsupp.c mqueuesetattr.c mqueuetimedreceive.c mqueuetimedsend.c \
    3434    mqueueunlink.c
     35
    3536MUTEX_C_FILES = mutex.c mutexattrdestroy.c mutexattrgetprioceiling.c \
    3637    mutexattrgetprotocol.c mutexattrgetpshared.c mutexattrinit.c \
  • cpukit/posix/src/mutexmp.c

    r61581a1 r64f55e7  
    4949}
    5050
    51 void POSIX_Threads_mutex_MP_support(
     51void _POSIX_Threads_mutex_MP_support(
    5252  Thread_Control *the_thread,
    5353  Objects_Id      id
  • cpukit/posix/src/mutexsetprioceiling.c

    r61581a1 r64f55e7  
    6767        the_mutex->Object.id,
    6868#if defined(RTEMS_MULTIPROCESSING)
    69         POSIX_Threads_mutex_MP_support
     69        _POSIX_Threads_mutex_MP_support
    7070#else
    7171        NULL
  • cpukit/posix/src/mutexunlock.c

    r61581a1 r64f55e7  
    5050        the_mutex->Object.id,
    5151#if defined(RTEMS_MULTIPROCESSING)
    52         POSIX_Threads_mutex_MP_support
     52        _POSIX_Threads_mutex_MP_support
    5353#else
    5454        NULL
  • cpukit/posix/src/semaphoremp.c

    r61581a1 r64f55e7  
    1717#include <rtems/posix/seterr.h>
    1818
    19 void POSIX_Semaphore_MP_support(
    20   Thread_Control *the_thread,
    21   Objects_Id      id
     19#if defined(RTEMS_MULTIPROCESSING)
     20/*
     21 *  _POSIX_Semaphore_MP_Send_process_packet
     22 *
     23 *  DESCRIPTION:
     24 *
     25 *  This routine performs a remote procedure call so that a
     26 *  process operation can be performed on another node.
     27 */
     28
     29void _POSIX_Semaphore_MP_Send_process_packet(
     30  POSIX_Semaphore_MP_Remote_operations  operation,
     31  Objects_Id                            semaphore_id,
     32  Objects_Name                          name,
     33  Objects_Id                            proxy_id
    2234)
    2335{
    24   (void) POSIX_MP_NOT_IMPLEMENTED();
     36  POSIX_MP_NOT_IMPLEMENTED();
    2537}
     38
     39/*
     40 *  _POSIX_Semaphore_MP_Send_request_packet
     41 *
     42 *  DESCRIPTION:
     43 *
     44 *  This routine performs a remote procedure call so that a
     45 *  directive operation can be initiated on another node.
     46 */
     47
     48int _POSIX_Semaphore_MP_Send_request_packet(
     49  POSIX_Semaphore_MP_Remote_operations  operation,
     50  Objects_Id                            semaphore_id,
     51  boolean                               wait,  /* XXX options */
     52  Watchdog_Interval                     timeout
     53)
     54{
     55  POSIX_MP_NOT_IMPLEMENTED();
     56  return 0;
     57}
     58
     59/*
     60 *  _POSIX_Semaphore_MP_Send_response_packet
     61 *
     62 *  DESCRIPTION:
     63 *
     64 *  This routine performs a remote procedure call so that a
     65 *  directive can be performed on another node.
     66 */
     67
     68void _POSIX_Semaphore_MP_Send_response_packet(
     69  POSIX_Semaphore_MP_Remote_operations  operation,
     70  Objects_Id                        semaphore_id,
     71  Thread_Control                   *the_thread
     72)
     73{
     74  POSIX_MP_NOT_IMPLEMENTED();
     75}
     76
     77/*
     78 *
     79 *  _POSIX_Semaphore_MP_Process_packet
     80 *
     81 *  DESCRIPTION:
     82 *
     83 *  This routine performs the actions specific to this package for
     84 *  the request from another node.
     85 */
     86
     87void _POSIX_Semaphore_MP_Process_packet(
     88  MP_packet_Prefix *the_packet_prefix
     89)
     90{
     91  POSIX_MP_NOT_IMPLEMENTED();
     92}
     93
     94/*
     95 *  _POSIX_Semaphore_MP_Send_object_was_deleted
     96 *
     97 *  DESCRIPTION:
     98 *
     99 *  This routine is invoked indirectly by the thread queue
     100 *  when a proxy has been removed from the thread queue and
     101 *  the remote node must be informed of this.
     102 */
     103
     104void _POSIX_Semaphore_MP_Send_object_was_deleted(
     105  Thread_Control *the_proxy
     106)
     107{
     108  POSIX_MP_NOT_IMPLEMENTED();
     109}
     110
     111/*
     112 *  _POSIX_Semaphore_MP_Send_extract_proxy
     113 *
     114 *  DESCRIPTION:
     115 *
     116 *  This routine is invoked when a task is deleted and it
     117 *  has a proxy which must be removed from a thread queue and
     118 *  the remote node must be informed of this.
     119 */
     120
     121void _POSIX_Semaphore_MP_Send_extract_proxy(
     122  Thread_Control *the_thread
     123)
     124{
     125  POSIX_MP_NOT_IMPLEMENTED();
     126}
     127
     128/*
     129 *  _POSIX_Semaphore_MP_Get_packet
     130 *
     131 *  DESCRIPTION:
     132 *
     133 *  This function is used to obtain a semaphore mp packet.
     134 */
     135
     136POSIX_Semaphore_MP_Packet *_POSIX_Semaphore_MP_Get_packet( void )
     137{
     138  POSIX_MP_NOT_IMPLEMENTED();
     139  return NULL;
     140}
     141
     142#endif /* endif RTEMS_MULTIPROCESSING */
  • cpukit/posix/src/sempost.c

    r61581a1 r64f55e7  
    4242        the_semaphore->Object.id,
    4343#if defined(RTEMS_MULTIPROCESSING)
    44         POSIX_Semaphore_MP_support
     44        NULL         /* XXX need to define a routine to handle this case */
    4545#else
    4646        NULL
  • cpukit/posix/src/semunlink.c

    r61581a1 r64f55e7  
    3434  register POSIX_Semaphore_Control *the_semaphore;
    3535  Objects_Id                        the_semaphore_id;
    36   Objects_Locations                 location;
    3736 
    3837  _Thread_Disable_dispatch();
     
    5352  }
    5453
    55   the_semaphore = _Objects_Get_local_object(
     54  the_semaphore = (POSIX_Semaphore_Control *) _Objects_Get_local_object(
    5655    &_POSIX_Semaphore_Information,
    5756    _Objects_Get_index( the_semaphore_id )
Note: See TracChangeset for help on using the changeset viewer.