MEM: Add port proxies instead of non-structural ports
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 17 Jan 2012 18:55:08 +0000 (12:55 -0600)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 17 Jan 2012 18:55:08 +0000 (12:55 -0600)
commitf85286b3debf4a4a94d3b959e5bb880be81bd692
tree56a6be55a52d6cc6bb7e5d92fdcb25c79ad7d196
parent06c39a154c4dc8fedcf9fbf77bbcf26f176c469c
MEM: Add port proxies instead of non-structural ports

Port proxies are used to replace non-structural ports, and thus enable
all ports in the system to correspond to a structural entity. This has
the advantage of accessing memory through the normal memory subsystem
and thus allowing any constellation of distributed memories, address
maps, etc. Most accesses are done through the "system port" that is
used for loading binaries, debugging etc. For the entities that belong
to the CPU, e.g. threads and thread contexts, they wrap the CPU data
port in a port proxy.

The following replacements are made:
FunctionalPort      > PortProxy
TranslatingPort     > SETranslatingPortProxy
VirtualPort         > FSTranslatingPortProxy

--HG--
rename : src/mem/vport.cc => src/mem/fs_translating_port_proxy.cc
rename : src/mem/vport.hh => src/mem/fs_translating_port_proxy.hh
rename : src/mem/translating_port.cc => src/mem/se_translating_port_proxy.cc
rename : src/mem/translating_port.hh => src/mem/se_translating_port_proxy.hh
120 files changed:
configs/common/FSConfig.py
configs/example/se.py
configs/ruby/Ruby.py
src/arch/alpha/freebsd/system.cc
src/arch/alpha/linux/process.cc
src/arch/alpha/linux/system.cc
src/arch/alpha/linux/system.hh
src/arch/alpha/linux/threadinfo.hh
src/arch/alpha/remote_gdb.cc
src/arch/alpha/stacktrace.cc
src/arch/alpha/system.cc
src/arch/alpha/system.hh
src/arch/alpha/tru64/process.cc
src/arch/alpha/tru64/system.cc
src/arch/alpha/utility.cc
src/arch/alpha/vtophys.cc
src/arch/alpha/vtophys.hh
src/arch/arm/linux/process.cc
src/arch/arm/linux/system.cc
src/arch/arm/process.cc
src/arch/arm/stacktrace.cc
src/arch/arm/system.cc
src/arch/arm/system.hh
src/arch/arm/utility.cc
src/arch/arm/vtophys.cc
src/arch/mips/linux/process.cc
src/arch/mips/linux/system.cc
src/arch/mips/linux/threadinfo.hh
src/arch/mips/stacktrace.cc
src/arch/mips/utility.cc
src/arch/power/linux/process.cc
src/arch/power/process.cc
src/arch/sparc/linux/syscalls.cc
src/arch/sparc/process.cc
src/arch/sparc/solaris/process.cc
src/arch/sparc/system.cc
src/arch/sparc/system.hh
src/arch/sparc/utility.cc
src/arch/sparc/vtophys.cc
src/arch/x86/bios/intelmp.cc
src/arch/x86/bios/intelmp.hh
src/arch/x86/bios/smbios.cc
src/arch/x86/bios/smbios.hh
src/arch/x86/linux/syscalls.cc
src/arch/x86/linux/system.cc
src/arch/x86/process.cc
src/arch/x86/stacktrace.cc
src/arch/x86/system.cc
src/base/loader/elf_object.cc
src/base/loader/elf_object.hh
src/base/loader/hex_file.cc
src/base/loader/hex_file.hh
src/base/loader/object_file.cc
src/base/loader/object_file.hh
src/base/remote_gdb.cc
src/cpu/checker/thread_context.hh
src/cpu/inorder/cpu.cc
src/cpu/inorder/cpu.hh
src/cpu/inorder/resources/cache_unit.cc
src/cpu/inorder/resources/cache_unit.hh
src/cpu/inorder/thread_context.cc
src/cpu/inorder/thread_context.hh
src/cpu/o3/cpu.cc
src/cpu/o3/cpu.hh
src/cpu/o3/lsq.hh
src/cpu/o3/lsq_impl.hh
src/cpu/o3/thread_context.hh
src/cpu/o3/thread_context_impl.hh
src/cpu/ozone/cpu.hh
src/cpu/ozone/cpu_impl.hh
src/cpu/simple/atomic.cc
src/cpu/simple/atomic.hh
src/cpu/simple/timing.cc
src/cpu/simple/timing.hh
src/cpu/simple_thread.cc
src/cpu/simple_thread.hh
src/cpu/thread_context.hh
src/cpu/thread_state.cc
src/cpu/thread_state.hh
src/dev/simple_disk.cc
src/kern/tru64/tru64.hh
src/kern/tru64/tru64_events.cc
src/mem/SConscript
src/mem/fs_translating_port_proxy.cc [new file with mode: 0644]
src/mem/fs_translating_port_proxy.hh [new file with mode: 0644]
src/mem/port.hh
src/mem/port_impl.hh [deleted file]
src/mem/port_proxy.hh [new file with mode: 0644]
src/mem/ruby/system/RubyPort.cc
src/mem/ruby/system/RubyPortProxy.cc [new file with mode: 0644]
src/mem/ruby/system/RubyPortProxy.hh [new file with mode: 0644]
src/mem/ruby/system/SConscript
src/mem/ruby/system/Sequencer.py
src/mem/se_translating_port_proxy.cc [new file with mode: 0644]
src/mem/se_translating_port_proxy.hh [new file with mode: 0644]
src/mem/translating_port.cc [deleted file]
src/mem/translating_port.hh [deleted file]
src/mem/vport.cc [deleted file]
src/mem/vport.hh [deleted file]
src/sim/arguments.hh
src/sim/process.cc
src/sim/process.hh
src/sim/process_impl.hh
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh
src/sim/system.cc
src/sim/system.hh
src/sim/vptr.hh
tests/configs/inorder-timing.py
tests/configs/memtest-ruby.py
tests/configs/memtest.py
tests/configs/o3-timing-mp.py
tests/configs/o3-timing.py
tests/configs/rubytest-ruby.py
tests/configs/simple-atomic-mp.py
tests/configs/simple-atomic.py
tests/configs/simple-timing-mp-ruby.py
tests/configs/simple-timing-mp.py
tests/configs/simple-timing-ruby.py
tests/configs/simple-timing.py