commit | ff407fb922604bbd9ddae84ef9785284e57ed272 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Wed Apr 21 22:14:22 2021 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri May 07 13:36:22 2021 -0400 |
tree | 332bc58c849bb7134a7bb60fa7292ed99f32a364 | |
parent | 783b20712ea0155f1881a6bd0bf8e2717a717db5 [diff] |
sys: introduce bit arrays This introduces bit arrays as a new data type. This is different than sys_bitfield as it is working on raw arrays of 32-bit data. The bit arrays encode additional data inside the struct to avoid going beyond the declared number of bits, and also provides locking. Signed-off-by: Daniel Leung <daniel.leung@intel.com>