freebsd-dev/sys/contrib/vchiq
Oleksandr Tymoshenko 10e99e6057 Do not mark shared structures as __packed, it leads to race condition
If structure packed as __packed clang (and probably gcc) generates
code that loads word fields (e.g. tx_pos)  byte-by-byte and if it's
modified by VideoCore in the same time as ARM loads the value result
is going to be mixed combination of bytes from previous value and
new one.
2015-02-09 02:31:27 +00:00
..
interface Do not mark shared structures as __packed, it leads to race condition 2015-02-09 02:31:27 +00:00