sim: unify memory & ethernet port binding mechanisms.
Review Request #1922 - Created June 13, 2013 and updated - Latest diff uploaded
| Information | |
|---|---|
| Steve Reinhardt | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9757:071a2d97327a --------------------------- sim: unify memory & ethernet port binding mechanisms. Get rid of the ugly special-casing and dynamic casting going on in connectPorts(), and make the port binding mechanism more extensible. This is done by moving the port lookup methods to SimObject and creating a common base Port class from which both the old Port (now MemPort) and EtherInt (which perhaps should be renamed EtherPort) derive.
