btw, is there a unit test somewhere for the chain implementation? otherwise I will think of a small program where I will try to make it fail with double insert/erase.
Catalin On Thu, Oct 25, 2018 at 2:18 PM Sebastian Huber < [email protected]> wrote: > On 25/10/2018 13:03, Catalin Demergian wrote: > > This is really strange. If you use cpsid/cpsie around the append_cnt ++ > > and --, then append_cnt should never be > 1. If this really the case, > > then this looks like a processor bug. > > -> No, after I saw that it didn't fix the problem I commented the > > dis/en, so > > the value 2 was obtained without the dis/en in the code. > > Maybe you could replace the arm_interrupt_disable/enable with the > cpsid/cpsie (you need support for nesting). > > -- > 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 : [email protected] > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > >
_______________________________________________ users mailing list [email protected] http://lists.rtems.org/mailman/listinfo/users
