Add blocksize functions to physical memory. Fix the port we were using in the proces...
authorRon Dreslinski <rdreslin@umich.edu>
Tue, 21 Feb 2006 18:39:01 +0000 (13:39 -0500)
committerRon Dreslinski <rdreslin@umich.edu>
Tue, 21 Feb 2006 18:39:01 +0000 (13:39 -0500)
commit4bd11c10a5b9b5b8ef5cdf75cb9496da6a55c292
tree7bc4f8efcc35294c5026ba0eb0fa4fc53500e0cc
parent944646124e3d1222601294f62c78754c6705a2d6
Add blocksize functions to physical memory.  Fix the port we were using in the process loader.

mem/physical.cc:
    Implement the blockSize function, return VMPageSize for the physical memory
mem/port.hh:
    Add a function to get a pointer to a peer, needed for initVirtMem to work in the loader.
sim/process.cc:
    The way the translating port is setup we don't want the memory port, we want the peer port associated with that memory.  We may need to revisit this.

--HG--
extra : convert_revision : 46a51d448d1683db7bd5afe64adbe167a5743060
mem/physical.cc
mem/port.hh
sim/process.cc