commit | b345e140534ea17814b02bdf8798f18db6295304 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Thu Apr 18 16:37:00 2019 -0700 |
committer | Max Filippov <jcmvbkbc@gmail.com> | Wed May 15 10:31:52 2019 -0700 |
tree | f9320a22da357d31ad10e17a340300b02a389b98 | |
parent | 98736654f3dfbf984d9e26c9be0480b0560c1067 [diff] |
target/xtensa: implement exclusive access option The Exclusive Instructions provide a general-purpose mechanism for atomic updates of memory-based synchronization variables that can be used for exclusion algorithms. Use cmpxchg-based implementation that is sufficient for the typical use of exclusive access in atomic operations. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>