misc: Delete the now unnecessary create methods.
authorGabe Black <gabe.black@gmail.com>
Sat, 24 Oct 2020 02:34:07 +0000 (19:34 -0700)
committerGabe Black <gabe.black@gmail.com>
Fri, 30 Oct 2020 04:00:20 +0000 (04:00 +0000)
commitd05a0a4ea121aa69715e5049997a64fa24cd94f4
treea1c1b1b0a03f9af580ef752a76639bcc8d73fdd3
parent6c454ee53beeb5709cc289cc2446e9e86bc4faed
misc: Delete the now unnecessary create methods.

Most create() methods are no longer necessary. This change deletes them,
and occasionally moves some code from them into the constructors they
call.

Change-Id: Icbab29ba280144b892f9b12fac9e29a0839477e5
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36536
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
337 files changed:
src/arch/arm/fastmodel/CortexA76/cortex_a76.cc
src/arch/arm/fastmodel/CortexA76/evs.cc
src/arch/arm/fastmodel/CortexA76/evs.hh
src/arch/arm/fastmodel/CortexR52/cortex_r52.cc
src/arch/arm/fastmodel/CortexR52/evs.cc
src/arch/arm/fastmodel/CortexR52/evs.hh
src/arch/arm/fastmodel/GIC/gic.cc
src/arch/arm/fastmodel/GIC/gic.hh
src/arch/arm/fastmodel/iris/SConscript
src/arch/arm/fastmodel/iris/interrupts.cc
src/arch/arm/fastmodel/iris/isa.cc
src/arch/arm/fastmodel/iris/mmu.cc [deleted file]
src/arch/arm/fastmodel/iris/tlb.cc
src/arch/arm/freebsd/fs_workload.cc
src/arch/arm/freebsd/se_workload.cc
src/arch/arm/fs_workload.cc
src/arch/arm/interrupts.cc
src/arch/arm/isa.cc
src/arch/arm/kvm/arm_cpu.cc
src/arch/arm/kvm/armv8_cpu.cc
src/arch/arm/kvm/gic.cc
src/arch/arm/linux/fs_workload.cc
src/arch/arm/linux/se_workload.cc
src/arch/arm/mmu.cc
src/arch/arm/nativetrace.cc
src/arch/arm/pmu.cc
src/arch/arm/semihosting.cc
src/arch/arm/stage2_mmu.cc
src/arch/arm/system.cc
src/arch/arm/table_walker.cc
src/arch/arm/tlb.cc
src/arch/arm/tracers/tarmac_parser.cc
src/arch/arm/tracers/tarmac_tracer.cc
src/arch/mips/SConscript
src/arch/mips/interrupts.cc
src/arch/mips/isa.cc
src/arch/mips/linux/se_workload.cc
src/arch/mips/mmu.cc [deleted file]
src/arch/mips/tlb.cc
src/arch/power/SConscript
src/arch/power/interrupts.cc [deleted file]
src/arch/power/isa.cc
src/arch/power/linux/se_workload.cc
src/arch/power/mmu.cc [deleted file]
src/arch/power/tlb.cc
src/arch/riscv/SConscript
src/arch/riscv/bare_metal/fs_workload.cc
src/arch/riscv/interrupts.cc [deleted file]
src/arch/riscv/isa.cc
src/arch/riscv/linux/se_workload.cc
src/arch/riscv/mmu.cc [deleted file]
src/arch/riscv/pagetable_walker.cc
src/arch/riscv/tlb.cc
src/arch/sparc/SConscript
src/arch/sparc/fs_workload.cc
src/arch/sparc/interrupts.cc [deleted file]
src/arch/sparc/isa.cc
src/arch/sparc/linux/se_workload.cc
src/arch/sparc/mmu.cc [deleted file]
src/arch/sparc/nativetrace.cc
src/arch/sparc/tlb.cc
src/arch/x86/SConscript
src/arch/x86/bios/acpi.cc
src/arch/x86/bios/e820.cc
src/arch/x86/bios/intelmp.cc
src/arch/x86/bios/smbios.cc
src/arch/x86/fs_workload.cc
src/arch/x86/interrupts.cc
src/arch/x86/isa.cc
src/arch/x86/linux/fs_workload.cc
src/arch/x86/linux/se_workload.cc
src/arch/x86/mmu.cc [deleted file]
src/arch/x86/nativetrace.cc
src/arch/x86/pagetable_walker.cc
src/arch/x86/tlb.cc
src/base/filters/block_bloom_filter.cc
src/base/filters/bulk_bloom_filter.cc
src/base/filters/h3_bloom_filter.cc
src/base/filters/multi_bit_sel_bloom_filter.cc
src/base/filters/multi_bloom_filter.cc
src/base/filters/perfect_bloom_filter.cc
src/base/vnc/vncinput.cc
src/base/vnc/vncserver.cc
src/cpu/SConscript
src/cpu/dummy_checker.cc [deleted file]
src/cpu/dummy_checker.hh
src/cpu/exetrace.cc
src/cpu/func_unit.cc
src/cpu/func_unit.hh
src/cpu/inst_pb_trace.cc
src/cpu/inteltrace.cc
src/cpu/intr_control.cc
src/cpu/intr_control_noisa.cc
src/cpu/kvm/vm.cc
src/cpu/kvm/x86_cpu.cc
src/cpu/minor/cpu.cc
src/cpu/minor/func_unit.cc
src/cpu/o3/SConscript
src/cpu/o3/checker.cc
src/cpu/o3/checker.hh
src/cpu/o3/deriv.cc [deleted file]
src/cpu/o3/fu_pool.cc
src/cpu/o3/probe/elastic_trace.cc
src/cpu/o3/probe/simple_trace.cc
src/cpu/pred/2bit_local.cc
src/cpu/pred/bi_mode.cc
src/cpu/pred/loop_predictor.cc
src/cpu/pred/ltage.cc
src/cpu/pred/multiperspective_perceptron_64KB.cc
src/cpu/pred/multiperspective_perceptron_8KB.cc
src/cpu/pred/multiperspective_perceptron_tage.cc
src/cpu/pred/multiperspective_perceptron_tage_64KB.cc
src/cpu/pred/multiperspective_perceptron_tage_8KB.cc
src/cpu/pred/simple_indirect.cc
src/cpu/pred/tage.cc
src/cpu/pred/tage_base.cc
src/cpu/pred/tage_sc_l.cc
src/cpu/pred/tage_sc_l_64KB.cc
src/cpu/pred/tage_sc_l_8KB.cc
src/cpu/pred/tournament.cc
src/cpu/simple/atomic.cc
src/cpu/simple/noncaching.cc
src/cpu/simple/probes/simpoint.cc
src/cpu/simple/timing.cc
src/cpu/testers/directedtest/InvalidateGenerator.cc
src/cpu/testers/directedtest/RubyDirectedTester.cc
src/cpu/testers/directedtest/SeriesRequestGenerator.cc
src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc
src/cpu/testers/memtest/memtest.cc
src/cpu/testers/rubytest/RubyTester.cc
src/cpu/testers/traffic_gen/pygen.cc
src/cpu/testers/traffic_gen/traffic_gen.cc
src/cpu/timing_expr.cc
src/cpu/trace/trace_cpu.cc
src/dev/arm/a9scu.cc
src/dev/arm/amba_fake.cc
src/dev/arm/base_gic.cc
src/dev/arm/display.cc
src/dev/arm/energy_ctrl.cc
src/dev/arm/flash_device.cc
src/dev/arm/fvp_base_pwr_ctrl.cc
src/dev/arm/generic_timer.cc
src/dev/arm/gic_v2.cc
src/dev/arm/gic_v2m.cc
src/dev/arm/gic_v3.cc
src/dev/arm/gic_v3_its.cc
src/dev/arm/gpu_nomali.cc
src/dev/arm/hdlcd.cc
src/dev/arm/kmi.cc
src/dev/arm/pci_host.cc
src/dev/arm/pl011.cc
src/dev/arm/pl111.cc
src/dev/arm/realview.cc
src/dev/arm/rtc_pl031.cc
src/dev/arm/rv_ctrl.cc
src/dev/arm/smmu_v3.cc
src/dev/arm/smmu_v3_deviceifc.cc
src/dev/arm/timer_a9global.cc
src/dev/arm/timer_cpulocal.cc
src/dev/arm/timer_sp804.cc
src/dev/arm/ufs_device.cc
src/dev/arm/vgic.cc
src/dev/arm/vio_mmio.cc
src/dev/arm/watchdog_sp805.cc
src/dev/baddev.cc
src/dev/hsa/hsa_packet_processor.cc
src/dev/i2c/bus.cc
src/dev/isa_fake.cc
src/dev/mips/malta.cc
src/dev/mips/malta_cchip.cc
src/dev/mips/malta_io.cc
src/dev/net/dist_etherlink.cc
src/dev/net/etherbus.cc
src/dev/net/etherdump.cc
src/dev/net/etherlink.cc
src/dev/net/etherswitch.cc
src/dev/net/ethertap.cc
src/dev/net/i8254xGBe.cc
src/dev/net/ns_gige.cc
src/dev/net/sinic.cc
src/dev/pci/copy_engine.cc
src/dev/pci/device.cc
src/dev/pci/host.cc
src/dev/ps2/keyboard.cc
src/dev/ps2/mouse.cc
src/dev/ps2/touchkit.cc
src/dev/serial/serial.cc
src/dev/serial/simple.cc
src/dev/serial/terminal.cc
src/dev/serial/uart8250.cc
src/dev/sparc/dtod.cc
src/dev/sparc/iob.cc
src/dev/sparc/mm_disk.cc
src/dev/sparc/t1000.cc
src/dev/storage/disk_image.cc
src/dev/storage/ide_ctrl.cc
src/dev/storage/ide_disk.cc
src/dev/storage/simple_disk.cc
src/dev/virtio/base.cc
src/dev/virtio/block.cc
src/dev/virtio/console.cc
src/dev/virtio/fs9p.cc
src/dev/virtio/pci.cc
src/dev/x86/cmos.cc
src/dev/x86/i8042.cc
src/dev/x86/i82094aa.cc
src/dev/x86/i8237.cc
src/dev/x86/i8254.cc
src/dev/x86/i8259.cc
src/dev/x86/pc.cc
src/dev/x86/south_bridge.cc
src/dev/x86/speaker.cc
src/gpu-compute/compute_unit.cc
src/gpu-compute/dispatcher.cc
src/gpu-compute/gpu_command_processor.cc
src/gpu-compute/gpu_compute_driver.cc
src/gpu-compute/gpu_tlb.cc
src/gpu-compute/lds_state.cc
src/gpu-compute/register_file.cc
src/gpu-compute/register_manager.cc
src/gpu-compute/scalar_register_file.cc
src/gpu-compute/shader.cc
src/gpu-compute/simple_pool_manager.cc
src/gpu-compute/tlb_coalescer.cc
src/gpu-compute/vector_register_file.cc
src/gpu-compute/wavefront.cc
src/learning_gem5/part2/goodbye_object.cc
src/learning_gem5/part2/hello_object.cc
src/learning_gem5/part2/simple_cache.cc
src/learning_gem5/part2/simple_memobj.cc
src/learning_gem5/part2/simple_object.cc
src/mem/addr_mapper.cc
src/mem/bridge.cc
src/mem/cache/base.cc
src/mem/cache/cache.cc
src/mem/cache/compressors/base_delta.cc
src/mem/cache/compressors/cpack.cc
src/mem/cache/compressors/fpc.cc
src/mem/cache/compressors/fpcd.cc
src/mem/cache/compressors/multi.cc
src/mem/cache/compressors/perfect.cc
src/mem/cache/compressors/repeated_qwords.cc
src/mem/cache/compressors/zero.cc
src/mem/cache/noncoherent_cache.cc
src/mem/cache/prefetch/access_map_pattern_matching.cc
src/mem/cache/prefetch/bop.cc
src/mem/cache/prefetch/delta_correlating_prediction_tables.cc
src/mem/cache/prefetch/indirect_memory.cc
src/mem/cache/prefetch/irregular_stream_buffer.cc
src/mem/cache/prefetch/multi.cc
src/mem/cache/prefetch/pif.cc
src/mem/cache/prefetch/sbooe.cc
src/mem/cache/prefetch/signature_path.cc
src/mem/cache/prefetch/signature_path_v2.cc
src/mem/cache/prefetch/slim_ampm.cc
src/mem/cache/prefetch/spatio_temporal_memory_streaming.cc
src/mem/cache/prefetch/stride.cc
src/mem/cache/prefetch/tagged.cc
src/mem/cache/replacement_policies/bip_rp.cc
src/mem/cache/replacement_policies/brrip_rp.cc
src/mem/cache/replacement_policies/fifo_rp.cc
src/mem/cache/replacement_policies/lfu_rp.cc
src/mem/cache/replacement_policies/lru_rp.cc
src/mem/cache/replacement_policies/mru_rp.cc
src/mem/cache/replacement_policies/random_rp.cc
src/mem/cache/replacement_policies/second_chance_rp.cc
src/mem/cache/replacement_policies/tree_plru_rp.cc
src/mem/cache/replacement_policies/weighted_lru_rp.cc
src/mem/cache/tags/base_set_assoc.cc
src/mem/cache/tags/compressed_tags.cc
src/mem/cache/tags/fa_lru.cc
src/mem/cache/tags/indexing_policies/set_associative.cc
src/mem/cache/tags/indexing_policies/skewed_associative.cc
src/mem/cache/tags/sector_tags.cc
src/mem/coherent_xbar.cc
src/mem/comm_monitor.cc
src/mem/dramsim2.cc
src/mem/dramsim3.cc
src/mem/external_master.cc
src/mem/external_slave.cc
src/mem/hmc_controller.cc
src/mem/mem_checker.cc
src/mem/mem_checker_monitor.cc
src/mem/mem_ctrl.cc
src/mem/mem_delay.cc
src/mem/mem_interface.cc
src/mem/noncoherent_xbar.cc
src/mem/probes/mem_footprint.cc
src/mem/probes/mem_trace.cc
src/mem/probes/stack_dist.cc
src/mem/qos/mem_sink.cc
src/mem/qos/policy_fixed_prio.cc
src/mem/qos/policy_pf.cc
src/mem/qos/turnaround_policy_ideal.cc
src/mem/ruby/network/BasicLink.cc
src/mem/ruby/network/BasicRouter.cc
src/mem/ruby/network/MessageBuffer.cc
src/mem/ruby/network/fault_model/FaultModel.cc
src/mem/ruby/network/garnet/GarnetLink.cc
src/mem/ruby/network/garnet/GarnetNetwork.cc
src/mem/ruby/network/garnet/NetworkBridge.cc
src/mem/ruby/network/garnet/NetworkInterface.cc
src/mem/ruby/network/garnet/NetworkLink.cc
src/mem/ruby/network/garnet/Router.cc
src/mem/ruby/network/simple/SimpleLink.cc
src/mem/ruby/network/simple/SimpleNetwork.cc
src/mem/ruby/network/simple/Switch.cc
src/mem/ruby/structures/CacheMemory.cc
src/mem/ruby/structures/DirectoryMemory.cc
src/mem/ruby/structures/RubyPrefetcher.cc
src/mem/ruby/structures/WireBuffer.cc
src/mem/ruby/system/DMASequencer.cc
src/mem/ruby/system/HTMSequencer.cc
src/mem/ruby/system/RubyPortProxy.cc
src/mem/ruby/system/RubySystem.cc
src/mem/ruby/system/Sequencer.cc
src/mem/ruby/system/VIPERCoalescer.cc
src/mem/serial_link.cc
src/mem/simple_mem.cc
src/mem/slicc/symbols/StateMachine.py
src/mem/snoop_filter.cc
src/sim/clock_domain.cc
src/sim/dvfs_handler.cc
src/sim/kernel_workload.cc
src/sim/power/mathexpr_powermodel.cc
src/sim/power/power_model.cc
src/sim/power/thermal_domain.cc
src/sim/power/thermal_model.cc
src/sim/power/thermal_node.cc
src/sim/power_domain.cc
src/sim/power_state.cc
src/sim/probe/probe.cc
src/sim/redirect_path.cc
src/sim/se_workload.cc
src/sim/sub_system.cc
src/sim/system.cc
src/sim/voltage_domain.cc