python: Fix AddrRange legacy ParamValue wrapper
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 13 Jun 2019 15:01:02 +0000 (16:01 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 17 Jun 2019 09:50:18 +0000 (09:50 +0000)
commitd00aa3658498968f7dc2b586347771734af0d24a
tree48653635bc988110388ae146c97b7d2188ee4dbd
parent8e3164a90b50a18fb2906a18f353189902fce26e
python: Fix AddrRange legacy ParamValue wrapper

This change fixes a bug that would manifest if a user would
instantiate an AddrRange ParamValue using the kwargs 'intlvBits' and
'intlvHighBit' without specifying the optional 'xorHighBit'.

Change-Id: I2091c432234df9cf907d52af6ba7f0cadd8c37a8
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19248
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/python/m5/params.py