mem: Make DRAMCtrl::decodeAddr const
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 12 Feb 2019 13:20:42 +0000 (14:20 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 19 Apr 2019 16:34:00 +0000 (16:34 +0000)
commit5fabb992ffa9cbde09105ec21c45e8cff282949e
tree5594245bff576134eceb5a6ca84cb491b1d8da3d
parent22abf7916e1bce66469020c6fa4d458a13ae84f3
mem: Make DRAMCtrl::decodeAddr const

DRAMCtrl's decodeAddr does not need to modify the packet it
receives, nor should it modify the contents of the class,
and therefore both the packet and the function are made const.

Change-Id: I577f48d9a43611ba54878a9a793cb7b4fbb326f4
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17540
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/dram_ctrl.cc
src/mem/dram_ctrl.hh