arch, cpu, dev, gpu, mem, sim, python: start using getPort.
authorGabe Black <gabeblack@google.com>
Thu, 7 Mar 2019 11:02:35 +0000 (03:02 -0800)
committerGabe Black <gabeblack@google.com>
Tue, 19 Mar 2019 10:22:50 +0000 (10:22 +0000)
commitd3d24835bcc03ecf312ac6ba7df114656770730f
tree43bb564a7bc3e22ffd7b1b906f6f96742ecb619a
parent378d9ccbeb4053aeeab002159b26625854af54f7
arch, cpu, dev, gpu, mem, sim, python: start using getPort.

Replace the getMasterPort, getSlavePort, and getEthPort functions
with getPort, and remove extraneous mechanisms that are no longer
necessary.

Change-Id: Iab7e3c02d2f3a0cf33e7e824e18c28646b5bc318
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17040
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
110 files changed:
src/arch/arm/table_walker.cc
src/arch/arm/table_walker.hh
src/arch/arm/tlb.cc
src/arch/arm/tlb.hh
src/arch/generic/tlb.hh
src/arch/x86/interrupts.hh
src/arch/x86/pagetable_walker.cc
src/arch/x86/pagetable_walker.hh
src/arch/x86/tlb.cc
src/arch/x86/tlb.hh
src/cpu/base.cc
src/cpu/base.hh
src/cpu/testers/directedtest/RubyDirectedTester.cc
src/cpu/testers/directedtest/RubyDirectedTester.hh
src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc
src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.hh
src/cpu/testers/memtest/memtest.cc
src/cpu/testers/memtest/memtest.hh
src/cpu/testers/rubytest/RubyTester.cc
src/cpu/testers/rubytest/RubyTester.hh
src/cpu/testers/traffic_gen/base.cc
src/cpu/testers/traffic_gen/base.hh
src/cpu/trace/trace_cpu.cc
src/dev/dma_device.cc
src/dev/dma_device.hh
src/dev/io_device.cc
src/dev/io_device.hh
src/dev/net/Ethernet.py
src/dev/net/SConscript
src/dev/net/dist_etherlink.cc
src/dev/net/dist_etherlink.hh
src/dev/net/etherbus.cc
src/dev/net/etherbus.hh
src/dev/net/etherdevice.hh
src/dev/net/etherlink.cc
src/dev/net/etherlink.hh
src/dev/net/etherobject.hh [deleted file]
src/dev/net/etherswitch.cc
src/dev/net/etherswitch.hh
src/dev/net/ethertap.cc
src/dev/net/ethertap.hh
src/dev/net/i8254xGBe.cc
src/dev/net/i8254xGBe.hh
src/dev/net/ns_gige.cc
src/dev/net/ns_gige.hh
src/dev/net/python.cc [deleted file]
src/dev/net/sinic.cc
src/dev/net/sinic.hh
src/dev/pci/copy_engine.cc
src/dev/pci/copy_engine.hh
src/dev/x86/i82094aa.cc
src/dev/x86/i82094aa.hh
src/gpu-compute/compute_unit.hh
src/gpu-compute/dispatcher.cc
src/gpu-compute/dispatcher.hh
src/gpu-compute/gpu_tlb.cc
src/gpu-compute/gpu_tlb.hh
src/gpu-compute/lds_state.hh
src/gpu-compute/tlb_coalescer.cc
src/gpu-compute/tlb_coalescer.hh
src/learning_gem5/part2/simple_cache.cc
src/learning_gem5/part2/simple_cache.hh
src/learning_gem5/part2/simple_memobj.cc
src/learning_gem5/part2/simple_memobj.hh
src/mem/addr_mapper.cc
src/mem/addr_mapper.hh
src/mem/bridge.cc
src/mem/bridge.hh
src/mem/cache/base.cc
src/mem/cache/base.hh
src/mem/comm_monitor.cc
src/mem/comm_monitor.hh
src/mem/dram_ctrl.cc
src/mem/dram_ctrl.hh
src/mem/dramsim2.cc
src/mem/dramsim2.hh
src/mem/external_master.cc
src/mem/external_master.hh
src/mem/external_slave.cc
src/mem/external_slave.hh
src/mem/mem_checker_monitor.cc
src/mem/mem_checker_monitor.hh
src/mem/mem_delay.cc
src/mem/mem_delay.hh
src/mem/mem_object.cc
src/mem/mem_object.hh
src/mem/qos/mem_sink.cc
src/mem/qos/mem_sink.hh
src/mem/ruby/network/MessageBuffer.hh
src/mem/ruby/network/Network.hh
src/mem/ruby/network/dummy_port.hh [new file with mode: 0644]
src/mem/ruby/slicc_interface/AbstractController.cc
src/mem/ruby/slicc_interface/AbstractController.hh
src/mem/ruby/system/RubyPort.cc
src/mem/ruby/system/RubyPort.hh
src/mem/serial_link.cc
src/mem/serial_link.hh
src/mem/simple_mem.cc
src/mem/simple_mem.hh
src/mem/xbar.cc
src/mem/xbar.hh
src/python/SConscript
src/python/pybind11/pybind.hh
src/python/pybind11/pyobject.cc [deleted file]
src/sim/SConscript
src/sim/cxx_manager.cc
src/sim/init.cc
src/sim/python.cc [new file with mode: 0644]
src/sim/system.cc
src/sim/system.hh