base: Add addIntlvBits to AddrRange
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 7 Oct 2019 15:11:48 +0000 (16:11 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 16 Oct 2019 16:11:08 +0000 (16:11 +0000)
commite04e976e22be76e13eacd45b33f71eb85cefd81e
tree2b111fef8e80dc3249ccf73cd68e0f966cd8d2c3
parent2111c9960078e0d61bc1b6a1788b0d9acc13e97b
base: Add addIntlvBits to AddrRange

This method performs the opposite operation of removeIntlvBits and can
be used to transform a channel-local address to a global PA.

Change-Id: I2fab587d7c094597e52422305775ac7f31efba34
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21599
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/addr_range.hh
src/base/addr_range.test.cc