eal: introduce bit operations API
authorJoyce Kong <joyce.kong@arm.com>
Mon, 27 Apr 2020 07:58:51 +0000 (15:58 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 16 Jun 2020 12:16:56 +0000 (14:16 +0200)
Bitwise operation APIs are defined and used in a lot of PMDs,
which caused a huge code duplication. To reduce duplication,
this patch consolidates them into a common API family.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>

No differences found