<html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:arial,helvetica,sans-serif;}</style></head><body><div>A couple of minutes ago:<br></div><div><br data-mce-bogus="1"></div><div>https://git.rtems.org/rtems/commit/?id=9d8389021c63bc21099534b8d3581a7490124793</div><div><br></div><div>----- Mr. Andrei Chichak <groups@chichak.ca> schrieb:<br>></div><br class=""><div class=""><blockquote class=""><div class="">On 2015-June-15, at 1:12 PM, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" class="" target="_blank" data-mce-href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class="">This is unfortunately not the bug we are looking after. I fixed the _CPU_ISR_Get_level() function for ARMv7-M.<br class=""></div></div></div></blockquote><br class=""></div><div class=""><br class=""></div><div class="">When did you fix it? In my pulled code armv7m-isr-level-get.c on line 29 is showing:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 12px; font-family: 'Courier New';" class="" data-mce-style="margin: 0px; font-size: 12px; font-family: 'Courier New';"><span style="color: #931a68;" class="" data-mce-style="color: #931a68;"><b class="">#ifdef</b></span> ARM_MULTILIB_ARCH_V7M</div><div style="margin: 0px; font-size: 12px; font-family: 'Courier New'; min-height: 14px;" class="" data-mce-style="margin: 0px; font-size: 12px; font-family: 'Courier New'; min-height: 14px;"><br class=""></div><div style="margin: 0px; font-size: 12px; font-family: 'Courier New';" class="" data-mce-style="margin: 0px; font-size: 12px; font-family: 'Courier New';">uint32_t _CPU_ISR_Get_level( <span style="color: #931a68;" class="" data-mce-style="color: #931a68;"><b class="">void</b></span> )</div><div style="margin: 0px; font-size: 12px; font-family: 'Courier New';" class="" data-mce-style="margin: 0px; font-size: 12px; font-family: 'Courier New';">{</div><div style="margin: 0px; font-size: 12px; font-family: 'Courier New'; color: #931a68;" class="" data-mce-style="margin: 0px; font-size: 12px; font-family: 'Courier New'; color: #931a68;"><span style="color: #000000;" class="" data-mce-style="color: #000000;"> </span><b class="">return</b><span style="color: #000000;" class="" data-mce-style="color: #000000;"> 0;</span></div><div style="margin: 0px; font-size: 12px; font-family: 'Courier New';" class="" data-mce-style="margin: 0px; font-size: 12px; font-family: 'Courier New';">}</div><div class=""><br class=""></div><div class="">The assert in _Thread_Lock_acquire_default_critical (threadimpl.h@990) shows: <span style="font-family: 'Courier New'; font-size: 12px;" class="" data-mce-style="font-family: 'Courier New'; font-size: 12px;"> </span><span style="font-family: 'Courier New'; font-size: 12px;" class="" data-mce-style="font-family: 'Courier New'; font-size: 12px;">_Assert( _ISR_Get_level() != 0 );</span></div><div class=""><br class=""></div></div>Since _ISR_Get_level is a define for _CPU_ISR_Get_level (isrlevel.h) and always returns 0, this can never succeed.<div class=""><br class=""></div><div class="">Am I missing something?</div><div class=""><br class=""></div><div class="">Andrei</div><div><br>-- <br></div><div><pre>Sebastian Huber, embedded brains GmbH<br></pre><div><br></div><pre>Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>Phone : +49 89 189 47 41-16<br>Fax : +49 89 189 47 41-09<br>E-Mail : <a href="http://lists.rtems.org/mailman/listinfo/devel" data-mce-href="http://lists.rtems.org/mailman/listinfo/devel">sebastian.huber at embedded-brains.de</a><br>PGP : Public key available on request.<br></pre><div><br></div><pre>Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.</pre></div></body></html>