sim: Add System method for MasterID lookup
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 10 May 2018 13:37:27 +0000 (14:37 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 7 Sep 2018 13:16:20 +0000 (13:16 +0000)
commit53cdcdee663c614d134174edea57b98a15385679
tree0be8fe01736511047b22bb4732d3f61b72612c71
parent8fee83d1ff0abf23226138c36a995dfe3ce70516
sim: Add System method for MasterID lookup

A new method (lookupMasterId) has been added to the System. A client
should use it when querying the System for the MasterID of a particular
master. It changes from getMasterId since it is
not registering a new MasterID if the master is not found in the
master's list.

Change-Id: I701158d22e235085bba9ab91154fbb702cae1467
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11969
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/sim/system.cc
src/sim/system.hh