Problem with rtems_event_send crashing from interrupt routine

Mr. Andrei Chichak groups at chichak.ca
Mon Jun 15 19:47:51 UTC 2015


> On 2015-June-15, at 1:12 PM, Sebastian Huber <sebastian.huber at embedded-brains.de <mailto:sebastian.huber at embedded-brains.de>> wrote:
> 
> This is unfortunately not the bug we are looking after.  I fixed the _CPU_ISR_Get_level() function for ARMv7-M.


When did you fix it? In my pulled code armv7m-isr-level-get.c on line 29 is showing:

#ifdef ARM_MULTILIB_ARCH_V7M

uint32_t _CPU_ISR_Get_level( void )
{
  return 0;
}

The assert in _Thread_Lock_acquire_default_critical (threadimpl.h at 990) shows:   _Assert( _ISR_Get_level() != 0 );

Since _ISR_Get_level is a define for _CPU_ISR_Get_level (isrlevel.h) and always returns 0, this can never succeed.

Am I missing something?

Andrei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20150615/a5195b92/attachment-0001.html>


More information about the users mailing list