From c0d405ca016fe9c67b651a8d2ea13a5cc7b2153e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Jan 2000 22:13:15 +0000 Subject: Added new message priority parameter as returned by core support routine. --- c/src/exec/itron/src/trcv_mbf.c | 12 +++++++----- cpukit/itron/src/trcv_mbf.c | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/c/src/exec/itron/src/trcv_mbf.c b/c/src/exec/itron/src/trcv_mbf.c index c0524b0f30..a63f2a6748 100644 --- a/c/src/exec/itron/src/trcv_mbf.c +++ b/c/src/exec/itron/src/trcv_mbf.c @@ -27,11 +27,12 @@ ER trcv_mbf( TMO tmout ) { - ITRON_Message_buffer_Control *the_message_buffer; - Objects_Locations location; - CORE_message_queue_Status status; - boolean wait; - Watchdog_Interval interval; + ITRON_Message_buffer_Control *the_message_buffer; + Objects_Locations location; + CORE_message_queue_Status status; + boolean wait; + Watchdog_Interval interval; + CORE_message_queue_Submit_types core_priority; interval = 0; if (tmout == TMO_POL) { @@ -61,6 +62,7 @@ ER trcv_mbf( msg, p_msgsz, wait, + &core_priority, interval ); _Thread_Enable_dispatch(); diff --git a/cpukit/itron/src/trcv_mbf.c b/cpukit/itron/src/trcv_mbf.c index c0524b0f30..a63f2a6748 100644 --- a/cpukit/itron/src/trcv_mbf.c +++ b/cpukit/itron/src/trcv_mbf.c @@ -27,11 +27,12 @@ ER trcv_mbf( TMO tmout ) { - ITRON_Message_buffer_Control *the_message_buffer; - Objects_Locations location; - CORE_message_queue_Status status; - boolean wait; - Watchdog_Interval interval; + ITRON_Message_buffer_Control *the_message_buffer; + Objects_Locations location; + CORE_message_queue_Status status; + boolean wait; + Watchdog_Interval interval; + CORE_message_queue_Submit_types core_priority; interval = 0; if (tmout == TMO_POL) { @@ -61,6 +62,7 @@ ER trcv_mbf( msg, p_msgsz, wait, + &core_priority, interval ); _Thread_Enable_dispatch(); -- cgit v1.2.3