From b3cb2c12d7c1fa3434b0202e4f03a697f7c269bc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 1 Dec 2016 22:24:02 +0100 Subject: score: Fix debug thread queue context init On ARM Thumb we may have function addresses ending with 0x7f, if we are lucky. --- cpukit/score/include/rtems/score/threadqimpl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/score/include/rtems/score/threadqimpl.h') diff --git a/cpukit/score/include/rtems/score/threadqimpl.h b/cpukit/score/include/rtems/score/threadqimpl.h index 760c83c658..fc907d3936 100644 --- a/cpukit/score/include/rtems/score/threadqimpl.h +++ b/cpukit/score/include/rtems/score/threadqimpl.h @@ -91,6 +91,8 @@ RTEMS_INLINE_ROUTINE void _Thread_queue_Context_initialize( #if defined(RTEMS_SMP) _Chain_Initialize_node( &queue_context->Lock_context.Wait.Gate.Node ); #endif + queue_context->enqueue_callout = NULL; + queue_context->deadlock_callout = NULL; #else (void) queue_context; #endif -- cgit v1.2.3