diff options
author | Tomas Pilar (tpilar) <tpilar@solarflare.com> | 2018-07-06 21:40:43 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-07-09 10:29:45 +0800 |
commit | d7634dc0c5a83360b3b6c155df29c078ad9c77ce (patch) | |
tree | 0d4d53dd72d47a290e6826debfe74fa97dc94235 /BaseTools/Source/Python/AutoGen | |
parent | 18ef4e713f2fb5d2f84d179b9861b4afee212f65 (diff) | |
download | edk2-d7634dc0c5a83360b3b6c155df29c078ad9c77ce.tar.gz edk2-d7634dc0c5a83360b3b6c155df29c078ad9c77ce.tar.bz2 edk2-d7634dc0c5a83360b3b6c155df29c078ad9c77ce.zip |
MdePkg/BaseLib: Add bit field population calculating methods
Hopefully this should tidy the conversion warnings.
----
Add 32-bit and 64-bit functions that count number of set bits in a bitfield
using a divide-and-count method.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Tomas Pilar <tpilar@solarflare.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen')
0 files changed, 0 insertions, 0 deletions