diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-08-22 10:58:34 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-08 09:55:27 +0200 |
commit | e41308eab8ae4505844d8e499664424f8c7f2bd1 (patch) | |
tree | 7dffe5edacd3f245ba5ef3b64b431b7e4c74c454 /cpukit/score/src/mpci.c | |
parent | 114e40880bb56186d06fc81da29a889d9f2171a5 (diff) |
score: Introduce Thread_queue_Lock_context
Introduce Thread_queue_Lock_context to contain the context necessary for
thread queue lock and thread wait lock acquire/release operations to
reduce the Thread_Control size.
Diffstat (limited to 'cpukit/score/src/mpci.c')
-rw-r--r-- | cpukit/score/src/mpci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c index a562b29cbd..87d90a63f9 100644 --- a/cpukit/score/src/mpci.c +++ b/cpukit/score/src/mpci.c @@ -335,7 +335,7 @@ void _MPCI_Receive_server( executing->receive_packet = NULL; - _ISR_lock_ISR_disable( &queue_context.Lock_context ); + _ISR_lock_ISR_disable( &queue_context.Lock_context.Lock_context ); _CORE_semaphore_Seize( &_MPCI_Semaphore, MPCI_SEMAPHORE_TQ_OPERATIONS, @@ -375,7 +375,7 @@ void _MPCI_Announce ( void ) { Thread_queue_Context queue_context; - _ISR_lock_ISR_disable( &queue_context.Lock_context ); + _ISR_lock_ISR_disable( &queue_context.Lock_context.Lock_context ); (void) _CORE_semaphore_Surrender( &_MPCI_Semaphore, MPCI_SEMAPHORE_TQ_OPERATIONS, |