arch-power: Add helper functions in radixwalk
authorkajoljain379 <kajoljain797@gmail.com>
Tue, 19 Mar 2019 08:41:32 +0000 (14:11 +0530)
committerKajol Jain <kajoljain797@gmail.com>
Wed, 12 Jun 2019 07:08:38 +0000 (12:38 +0530)
commit380f6486fcc78d786c611ff0fa22f813a5dd99b0
tree0e0f6755ec178e9ecf911aacffe5a04738976ce6
parent75c96925d4b9ca2d4a8ab38287e9eee7fc8bec8d
arch-power: Add helper functions in radixwalk

* Added function to generate Mask with given bit set.
* Added a function to generate Mask with a sequence of clear bits.

Change-Id: I7cf0b0915ffd327a98537a89f7b3f60314ea6098
Signed-off-by: kajoljain379 <kajoljain797@gmail.com>
src/arch/power/radixwalk.cc