]> git.sesse.net Git - pistorm/commitdiff
As Arm is an architecture with weakly ordered memory,
authorRune Holm <rune.holm@gmail.com>
Fri, 25 Jun 2021 18:20:27 +0000 (19:20 +0100)
committerRune Holm <rune.holm@gmail.com>
Fri, 25 Jun 2021 18:23:26 +0000 (19:23 +0100)
it isn't safe to do cross-thread communication with multiple variables
unless we use memory barriers between them, both on writes and reads.
In the case of musashi, it's the sequence of set irq/do_reset and reset cycles left.
This patch introduces memory barriers between the writes and reads of these


No differences found