commit | 222f885df38c3abd34ee239a721654155609631b | [log] [tgz] |
---|---|---|
author | AlexeiFedorov <Alexei.Fedorov@arm.com> | Wed Mar 13 12:16:51 2024 +0000 |
committer | AlexeiFedorov <Alexei.Fedorov@arm.com> | Mon Apr 15 12:14:16 2024 +0100 |
tree | cda508c414083404510752f4609eec2467edb1a9 | |
parent | 7d5fc98f5483efb942f7cbe4c04bf546a9a8598c [diff] |
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>