On 31/03/2019 16:33, Hesham Almatary wrote:
+static ISR_lock_Control htif_lock;
+static ISR_lock_Context htif_lock_context;

The lock context must be unique for each caller, so please use a stack variable for it. Please use the rtems_interrupt_lock_* API and not the internal API.

--
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.hu...@embedded-brains.de
PGP     : Public key available on request.

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

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to