Searched hist:"222 f885df38c3abd34ee239a721654155609631b" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/include/lib/ |
| H A D | spinlock.h | 222f885df38c3abd34ee239a721654155609631b Wed Mar 13 12:16:51 UTC 2024 AlexeiFedorov <Alexei.Fedorov@arm.com> feat(locks): add bitlock
This patch adds 'bitlock_t' type and bit_lock() and bit_unlock() to support locking/release functionality based on individual bit position. These functions use atomic bit set and clear instructions which require FEAT_LSE mandatory from Armv8.1.
Change-Id: I3eb0f29bbccefe6c0f69061aa701187a6364df0c Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
|