RTEMS scheduler bug ?

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Mar 29 13:36:25 UTC 2019


On 29/03/2019 14:31, Catalin Demergian wrote:
> Sure, I will build and try.
> Is _ISR_Get_level() something CPU-specific ? I mean we use it to 
> figure out if interrupts are enabled or not, right ?
> forgot to say, I use a STM32H7. Does _ISR_Get_level work on it ?

I would run test

testsuites/sptests/sp37

to figure out if it works.

>
> Also, I thought the scheduler code runs with interrupts enabled, I 
> mean doesn't it use the tick interrupt itself ?
> How does that work on RTEMS ?

Some critical sections of the scheduler are protected by disabled 
interrupts.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list