Changeset c5858ef in rtems


Ignore:
Timestamp:
Jan 5, 2000, 5:16:02 PM (20 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
65800393
Parents:
3ebd4c1
Message:

Added priority conversion between POSIX and core priorities.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/include/rtems/posix/mqueue.h

    r3ebd4c1 rc5858ef  
    3737   boolean                     linked;
    3838   boolean                     blocking;
     39   int                         oflag;
    3940   unsigned32                  open_count;
    4041   CORE_message_queue_Control  Message_queue;
     
    120121  const char         *msg_ptr,
    121122  unsigned32          msg_len,
    122   Priority_Control    msg_prio,
     123  unsigned32          msg_prio,
    123124  Watchdog_Interval   timeout
    124125);
     
    200201 */
    201202 
    202 RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Message_queue_Priority_to_core(
     203RTEMS_INLINE_ROUTINE CORE_message_queue_Submit_types _POSIX_Message_queue_Priority_to_core(
    203204  unsigned int priority
    204205);
     206
     207/*
     208 *  _POSIX_Message_queue_Priority_from_core
     209 *
     210 *  DESCRIPTION:
     211 *
     212 *  XXX
     213 */
     214 
     215RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
     216  CORE_message_queue_Submit_types priority
     217);
     218
     219/*PAGE
     220 *
     221 *  _POSIX_Message_queue_Translate_core_message_queue_return_code
     222 *
     223 *  DESCRIPTION:
     224 *
     225 *  XXX
     226 */
     227
     228int _POSIX_Message_queue_Translate_core_message_queue_return_code(
     229  unsigned32 the_message_queue_status
     230);
     231
    205232
    206233#include <rtems/posix/mqueue.inl>
  • cpukit/posix/include/rtems/posix/mqueue.h

    r3ebd4c1 rc5858ef  
    3737   boolean                     linked;
    3838   boolean                     blocking;
     39   int                         oflag;
    3940   unsigned32                  open_count;
    4041   CORE_message_queue_Control  Message_queue;
     
    120121  const char         *msg_ptr,
    121122  unsigned32          msg_len,
    122   Priority_Control    msg_prio,
     123  unsigned32          msg_prio,
    123124  Watchdog_Interval   timeout
    124125);
     
    200201 */
    201202 
    202 RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Message_queue_Priority_to_core(
     203RTEMS_INLINE_ROUTINE CORE_message_queue_Submit_types _POSIX_Message_queue_Priority_to_core(
    203204  unsigned int priority
    204205);
     206
     207/*
     208 *  _POSIX_Message_queue_Priority_from_core
     209 *
     210 *  DESCRIPTION:
     211 *
     212 *  XXX
     213 */
     214 
     215RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
     216  CORE_message_queue_Submit_types priority
     217);
     218
     219/*PAGE
     220 *
     221 *  _POSIX_Message_queue_Translate_core_message_queue_return_code
     222 *
     223 *  DESCRIPTION:
     224 *
     225 *  XXX
     226 */
     227
     228int _POSIX_Message_queue_Translate_core_message_queue_return_code(
     229  unsigned32 the_message_queue_status
     230);
     231
    205232
    206233#include <rtems/posix/mqueue.inl>
Note: See TracChangeset for help on using the changeset viewer.