Replace Memory with MemObject; no need for two different levels of hierarchy there.
authorSteve Reinhardt <stever@eecs.umich.edu>
Sun, 12 Mar 2006 22:21:59 +0000 (17:21 -0500)
committerSteve Reinhardt <stever@eecs.umich.edu>
Sun, 12 Mar 2006 22:21:59 +0000 (17:21 -0500)
commite2b329d574483096da64d4050a9a0b228757a72e
tree1eaa5625be7cc5132c91a948771479141878a564
parent2d9c9dba37499d87ee599388aca5502279ce953a
Replace Memory with MemObject; no need for two different levels of hierarchy there.
Get rid of addPort().
Change getPort() behavior on PhysicalMemory.

SConscript:
cpu/simple/cpu.hh:
sim/system.cc:
sim/system.hh:
    Replace Memory with MemObject.
cpu/base.hh:
    No need to declare Port here anymore.
cpu/cpu_exec_context.hh:
    Need PageTable definition.
cpu/simple/cpu.cc:
mem/physical.cc:
mem/physical.hh:
    Replace Memory with MemObject.
    Get rid of addPort(); allow getting anonymous ports with getPort().
mem/translating_port.hh:
    Remove unneeded header.
sim/process.cc:
    Replace Memory with MemObject.
    Change how initialization port gets set up to deal with change in
    addPort()/getPort().  Current solution is not ideal but it works.
sim/process.hh:
    Remove unneeded headers and declarations.
    Make LiveProcess::getDesc() abstract instead of panicing if called.
sim/syscall_emul.hh:
    Fix includes.

--HG--
extra : convert_revision : 11d4ffb54230038afcf7219cc46e51f809329a2f
14 files changed:
SConscript
cpu/base.hh
cpu/cpu_exec_context.hh
cpu/simple/cpu.cc
cpu/simple/cpu.hh
mem/mem_object.cc [new file with mode: 0644]
mem/physical.cc
mem/physical.hh
mem/translating_port.hh
sim/process.cc
sim/process.hh
sim/syscall_emul.hh
sim/system.cc
sim/system.hh