MEM: Add the system port as a central access point
Review Request #942 - Created Dec. 18, 2011 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
MEM: Add the system port as a central access point The system port is used as a globally reachable access point to the memory subsystem. The benefit of using an actual port is that the usual infrastructure is used to resolve any access and thus makes the overall system able to handle distributed memories in any configuration, and also makes the accesses agnostic to the address map. This patch only introduces the port and does not actually use it for anything.
util/regress all passing (disregarding t1000 and eio)
Posted (Jan. 3, 2012, 8:42 a.m.)
Why do you need setParent()? You could make every simobject have a parameter called System and have the default value be Parent.any (see src/dev/Device.py).
great!
Posted (Jan. 10, 2012, 2:37 p.m.)
-
src/sim/system.hh (Diff revision 3) -
Do we need a special function for this, as opposed to other objects just calling getPort("system_port")?
