arch-power: Add helper functions in radixwalk
authorkajoljain379 <kajoljain797@gmail.com>
Tue, 19 Mar 2019 08:41:32 +0000 (14:11 +0530)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 24 Jan 2021 03:59:31 +0000 (03:59 +0000)
commitf391fe9674851c769bacd813f4f70ef541a2cfc3
tree4d780445dfd1e8a8745ca7023332c6b1e363a96e
parent2ab003ac81fa110249113de6ae8f81347d68739d
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