diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-04 11:48:31 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-08 11:09:46 +0530 |
commit | a148996a7f9097a1f8e43cc62bd65972b008cad4 (patch) | |
tree | 4b0997037a50256b2c6bee2d693a4b17b3301cb0 /platform | |
parent | 00d332bbe726d85e4c2b81ab0a08182612f96c03 (diff) |
include: sbi_bitops: More useful bit operations
This patch extends our bit operation library with mechanism to:
1. Iteratively traverse bits
2. Set bit
3. Clear bit
4. Change bit
5. ... other helpful functions ...
Most the above is adopted from Xvisor sources.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions