Review Board 2.0.15


ruby: topology: do not use Machine* functions

Review Request #3436 - Created April 4, 2016 and updated

Information
Brandon Potter
gem5
default
Reviewers
Default
Changeset 11438:75e7a63a07c4
---------------------------
ruby: topology: do not use Machine* functions

Currently the Topology class in Ruby uses functions provided by the
MachineType enum for converting MachineIDs to flat ids and back.
MachineType provides these functions by making use of static variables for
counting the number of controllers of each MachineType. This patch drops the
use of these functions. The functionality has been re-written to use
SimObject * instead of flat ids.