mirror of
https://github.com/linux-msm/debugcc.git
synced 2026-02-25 13:12:32 -08:00
debugcc: add convenient macro GENMASK to calculate mask from bits
Add convenient macro GENMASK to calculate masks from bits similar to how it's implemented in kernel linux tools. This is useful to better describe some specific define instead of using comments and raw HEX values. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in: