commit | a13f5849f5bd098c83667f2306ed13affc59c438 | [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 | 65258456f241f90cebdc0992ace65d1ea6b2a3b6 [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>