mem: Tidy up the bridge with const and additional checks
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 27 Jun 2013 09:49:49 +0000 (05:49 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 27 Jun 2013 09:49:49 +0000 (05:49 -0400)
commit3b927489371d61ef8b4d0ca9d7a2ca6a5c85f38b
treef05f59c9b737bcb0afd7c0550b7bdfb0ed8bca9b
parentf25ea3fd569b7616b654be1fc7dabd72493f4ff4
mem: Tidy up the bridge with const and additional checks

This patch does a bit of tidying up in the bridge code, adding const
where appropriate and also removing redundant checks and adding a few
new ones.

There are no changes to the behaviour of any regressions.
src/mem/Bridge.py
src/mem/bridge.cc
src/mem/bridge.hh