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)
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

index 802299b9fb7a211d9516c3867da06c6c6c1e8095..d2b96764e2f0135e6c8c74ddda00be1234ee4906 100644 (file)
@@ -202,15 +202,3 @@ CortexA76Cluster::getPort(const std::string &if_name, PortID idx)
 }
 
 } // namespace FastModel
-
-FastModel::CortexA76 *
-FastModelCortexA76Params::create() const
-{
-    return new FastModel::CortexA76(*this);
-}
-
-FastModel::CortexA76Cluster *
-FastModelCortexA76ClusterParams::create() const
-{
-    return new FastModel::CortexA76Cluster(*this);
-}
index 4828b2df7dbdd5c9770c0dd30d3b8773f22e2679..360a5dd494d3969661dd3f3bb75d101c4dcf8766 100644 (file)
@@ -153,27 +153,3 @@ template class ScxEvsCortexA76<ScxEvsCortexA76x3Types>;
 template class ScxEvsCortexA76<ScxEvsCortexA76x4Types>;
 
 } // namespace FastModel
-
-FastModel::ScxEvsCortexA76x1 *
-FastModelScxEvsCortexA76x1Params::create() const
-{
-    return new FastModel::ScxEvsCortexA76x1(name.c_str(), *this);
-}
-
-FastModel::ScxEvsCortexA76x2 *
-FastModelScxEvsCortexA76x2Params::create() const
-{
-    return new FastModel::ScxEvsCortexA76x2(name.c_str(), *this);
-}
-
-FastModel::ScxEvsCortexA76x3 *
-FastModelScxEvsCortexA76x3Params::create() const
-{
-    return new FastModel::ScxEvsCortexA76x3(name.c_str(), *this);
-}
-
-FastModel::ScxEvsCortexA76x4 *
-FastModelScxEvsCortexA76x4Params::create() const
-{
-    return new FastModel::ScxEvsCortexA76x4(name.c_str(), *this);
-}
index 3657808354707e03e308627fe43af33b106c4f81..e57bdd76395d8863d0bd2be2861db6c48ce6bca4 100644 (file)
@@ -93,6 +93,7 @@ class ScxEvsCortexA76 : public Types::Base
     const Params &params;
 
   public:
+    ScxEvsCortexA76(const Params &p) : ScxEvsCortexA76(p.name.c_str(), p) {}
     ScxEvsCortexA76(const sc_core::sc_module_name &mod_name, const Params &p);
 
     void before_end_of_elaboration() override;
index 31485d2b695029b2da1571cde269d23650c12409..18bb33d487de12e5e48ad6aa7aed8fc983a9d7b7 100644 (file)
@@ -160,15 +160,3 @@ CortexR52Cluster::getPort(const std::string &if_name, PortID idx)
 }
 
 } // namespace FastModel
-
-FastModel::CortexR52 *
-FastModelCortexR52Params::create() const
-{
-    return new FastModel::CortexR52(*this);
-}
-
-FastModel::CortexR52Cluster *
-FastModelCortexR52ClusterParams::create() const
-{
-    return new FastModel::CortexR52Cluster(*this);
-}
index 403f3c3eda3175d072199abdc97d2eb2c9b00017..50ac670f6fa0c33b539ca81110c8ef993ce8df24 100644 (file)
@@ -129,27 +129,3 @@ template class ScxEvsCortexR52<ScxEvsCortexR52x3Types>;
 template class ScxEvsCortexR52<ScxEvsCortexR52x4Types>;
 
 } // namespace FastModel
-
-FastModel::ScxEvsCortexR52x1 *
-FastModelScxEvsCortexR52x1Params::create() const
-{
-    return new FastModel::ScxEvsCortexR52x1(name.c_str(), *this);
-}
-
-FastModel::ScxEvsCortexR52x2 *
-FastModelScxEvsCortexR52x2Params::create() const
-{
-    return new FastModel::ScxEvsCortexR52x2(name.c_str(), *this);
-}
-
-FastModel::ScxEvsCortexR52x3 *
-FastModelScxEvsCortexR52x3Params::create() const
-{
-    return new FastModel::ScxEvsCortexR52x3(name.c_str(), *this);
-}
-
-FastModel::ScxEvsCortexR52x4 *
-FastModelScxEvsCortexR52x4Params::create() const
-{
-    return new FastModel::ScxEvsCortexR52x4(name.c_str(), *this);
-}
index c49a9aded644903bc43dc2898e0dc3adf0eeb79a..3f663020abd7aa7c7d9c239f3d2d8ed7c2afa6b9 100644 (file)
@@ -117,6 +117,7 @@ class ScxEvsCortexR52 : public Types::Base
     const Params &params;
 
   public:
+    ScxEvsCortexR52(const Params &p) : ScxEvsCortexR52(p.name.c_str(), p) {}
     ScxEvsCortexR52(const sc_core::sc_module_name &mod_name, const Params &p);
 
     void
index 934305bd5ca3ab1bfea6ef32ad246874a1e8847d..c34fc022b4ea89ad83396c2ee2e023c72d166587 100644 (file)
@@ -358,15 +358,3 @@ GIC::supportsVersion(GicVersion version)
 }
 
 } // namespace FastModel
-
-FastModel::SCGIC *
-SCFastModelGICParams::create() const
-{
-    return new FastModel::SCGIC(*this, name.c_str());
-}
-
-FastModel::GIC *
-FastModelGICParams::create() const
-{
-    return new FastModel::GIC(*this);
-}
index 63698b94ddc73e8bff9196c32bc7ab23d0c9770c..683695ed7c826b0f3aa53b0d81fc573fcb1458b9 100644 (file)
@@ -83,6 +83,7 @@ class SCGIC : public scx_evs_GIC
     const SCFastModelGICParams &_params;
 
   public:
+    SCGIC(const SCFastModelGICParams &p) : SCGIC(p, p.name.c_str()) {}
     SCGIC(const SCFastModelGICParams &params, sc_core::sc_module_name _name);
 
     SignalInterruptInitiatorSocket signalInterrupt;
index 2e0b52b888d54712255516917ab019956a3e439a..9586f0fca12cad1592b8761972332ab767615fcc 100644 (file)
@@ -32,7 +32,6 @@ SimObject('Iris.py')
 Source('cpu.cc')
 Source('interrupts.cc')
 Source('isa.cc')
-Source('mmu.cc')
 Source('tlb.cc')
 
 Source('thread_context.cc')
index a6cf6c03d510e1c1cc19b6cf856f88b3ddef48a5..a3c777d40403adbdb77dde54b02b40e7b89b5fef 100644 (file)
@@ -106,9 +106,3 @@ void
 Iris::Interrupts::unserialize(CheckpointIn &cp)
 {
 }
-
-Iris::Interrupts *
-IrisInterruptsParams::create() const
-{
-    return new Iris::Interrupts(*this);
-}
index 20ebf1c1df3780892da1d22b9dc2b014e2b96538..1470434247a618f33e8d6278eca5f42fe04826dc 100644 (file)
@@ -40,9 +40,3 @@ Iris::ISA::serialize(CheckpointOut &cp) const
         miscRegs[i] = tc->readMiscRegNoEffect(i);
     SERIALIZE_ARRAY(miscRegs, ArmISA::NUM_PHYS_MISCREGS);
 }
-
-Iris::ISA *
-IrisISAParams::create() const
-{
-    return new Iris::ISA(*this);
-}
diff --git a/src/arch/arm/fastmodel/iris/mmu.cc b/src/arch/arm/fastmodel/iris/mmu.cc
deleted file mode 100644 (file)
index 21d1601..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2020 ARM Limited
- * All rights reserved
- *
- * The license below extends only to copyright in the software and shall
- * not be construed as granting a license to any other intellectual
- * property including but not limited to intellectual property relating
- * to a hardware implementation of the functionality of the software
- * licensed hereunder.  You may use the software subject to the license
- * terms below provided that you ensure that this notice is replicated
- * unmodified and in its entirety in all distributions of the software,
- * modified or unmodified, in source code or in binary form.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "arch/arm/fastmodel/iris/mmu.hh"
-
-Iris::MMU *
-IrisMMUParams::create() const
-{
-    return new Iris::MMU(*this);
-}
index 84dd59d460f27b69aa308586ac3e2ef9248a72cf..45bd81091a2b5584cf3d0b1e6ffa81b350b71d27 100644 (file)
@@ -65,9 +65,3 @@ Iris::TLB::translateTiming(const RequestPtr &req, ::ThreadContext *tc,
     assert(translation);
     translation->finish(translateAtomic(req, tc, mode), req, tc, mode);
 }
-
-Iris::TLB *
-IrisTLBParams::create() const
-{
-    return new Iris::TLB(*this);
-}
index 8beba8bf54f617130b1a4ae6861011ae6b382e38..241b40e0c324bf42eb38c902d86ded2fc35180d0 100644 (file)
@@ -126,9 +126,3 @@ FsFreebsd::~FsFreebsd()
 }
 
 } // namespace ArmISA
-
-ArmISA::FsFreebsd *
-ArmFsFreebsdParams::create() const
-{
-    return new ArmISA::FsFreebsd(*this);
-}
index 7c79e7b7f489ebb7d5e4e771a0a0889b321181eb..ab6b03ec64529257e1c435a44692d6e211f4c658 100644 (file)
@@ -154,9 +154,3 @@ EmuFreebsd::syscall(ThreadContext *tc)
 }
 
 } // namespace ArmISA
-
-ArmISA::EmuFreebsd *
-ArmEmuFreebsdParams::create() const
-{
-    return new ArmISA::EmuFreebsd(*this);
-}
index 110ed00c5d9d3da2d07715cb74ebc017da203901..84d3a0d1eb1fe71d5ed9b12be4b178129842a95e 100644 (file)
@@ -157,9 +157,3 @@ FsWorkload::getBootLoader(Loader::ObjectFile *const obj)
 }
 
 } // namespace ArmISA
-
-ArmISA::FsWorkload *
-ArmFsWorkloadParams::create() const
-{
-    return new ArmISA::FsWorkload(*this);
-}
index f5e7782c1c6102b391945ebc9227f51365f39b3d..6b75403c735e25dcc9839c672821d7496cb0f4f9 100644 (file)
 
 #include "arch/arm/system.hh"
 
-ArmISA::Interrupts *
-ArmInterruptsParams::create() const
-{
-    return new ArmISA::Interrupts(*this);
-}
-
 bool
 ArmISA::Interrupts::takeInt(InterruptTypes int_type) const
 {
index 1c70a771e902871cecd7346685a46a64d8116624..3607c2988f560832e4d85f6c1e770151a67ef0c7 100644 (file)
@@ -2487,9 +2487,3 @@ ISA::MiscRegLUTEntryInitializer::highest(ArmSystem *const sys) const
 }
 
 }  // namespace ArmISA
-
-ArmISA::ISA *
-ArmISAParams::create() const
-{
-    return new ArmISA::ISA(*this);
-}
index 0e5823e23c518b3244373afe8dd50019675c674a..4fbb78e21fb87428c5a23921ee87a704427f9058 100644 (file)
@@ -841,9 +841,3 @@ ArmKvmCPU::updateTCStateVFP(uint64_t id, bool show_warnings)
             warn("Unhandled VFP register: 0x%x\n", id);
     }
 }
-
-ArmKvmCPU *
-ArmKvmCPUParams::create() const
-{
-    return new ArmKvmCPU(*this);
-}
index 324507a2dabd410913c4f5fd7234a7f1eb715eab..97790940d3c102bb8a3da1a966e9e2cfe16f54e3 100644 (file)
@@ -395,9 +395,3 @@ ArmV8KvmCPU::getSysRegMap() const
 
     return sysRegMap;
 }
-
-ArmV8KvmCPU *
-ArmV8KvmCPUParams::create() const
-{
-    return new ArmV8KvmCPU(*this);
-}
index 5f5cd14df47ce32f083b6a9f6c25c51859e22eea..67678335244666a7ad0703dfba8fc0c1928826aa 100644 (file)
@@ -425,9 +425,3 @@ MuxingKvmGic::fromKvmToGicV2()
        assert((cpuPriority[cpu] & ~0xff) == 0);
     }
 }
-
-MuxingKvmGic *
-MuxingKvmGicParams::create() const
-{
-    return new MuxingKvmGic(*this);
-}
index ad68b22bf1e6bc3000b79df8fbf0a08d5932c022..54d5c863ef39ff6012ad72cfd713c1e56daaaa93 100644 (file)
@@ -358,9 +358,3 @@ DumpStats::process(ThreadContext *tc)
 }
 
 } // namespace ArmISA
-
-ArmISA::FsLinux *
-ArmFsLinuxParams::create() const
-{
-    return new ArmISA::FsLinux(*this);
-}
index a3650ca001f9f1367cc61849695889a18db6792b..da523fb6c2ed44d547e8a5a2896a668424b67da5 100644 (file)
@@ -863,9 +863,3 @@ EmuLinux::syscall(ThreadContext *tc)
 }
 
 } // namespace ArmISA
-
-ArmISA::EmuLinux *
-ArmEmuLinuxParams::create() const
-{
-    return new ArmISA::EmuLinux(*this);
-}
index 0895cee2fbc3e0a5d9c82d28ae4f387e637a3ed0..b9a86373da0b8254d60e0aecbfe8872c00130e79 100644 (file)
@@ -66,9 +66,3 @@ MMU::invalidateMiscReg(TLBType type)
         getDTBPtr()->invalidateMiscReg();
     }
 }
-
-ArmISA::MMU *
-ArmMMUParams::create() const
-{
-    return new ArmISA::MMU(*this);
-}
index 559602886456d1a0f273f3ff110c47378dfbf3cf..7075adbfa8c277136179dfd7c0d807aa20285125 100644 (file)
@@ -219,13 +219,3 @@ Trace::ArmNativeTrace::check(NativeTraceRecord *record)
 }
 
 } // namespace Trace
-
-////////////////////////////////////////////////////////////////////////
-//
-//  ExeTracer Simulation Object
-//
-Trace::ArmNativeTrace *
-ArmNativeTraceParams::create() const
-{
-    return new Trace::ArmNativeTrace(*this);
-}
index 17764e022549f17baa28b6034e6a333aac741c0d..51dfdca200a699e1fe12fa4948f05201513bf059 100644 (file)
@@ -807,9 +807,3 @@ PMU::SWIncrementEvent::write(uint64_t val)
 }
 
 } // namespace ArmISA
-
-ArmISA::PMU *
-ArmPMUParams::create() const
-{
-    return new ArmISA::PMU(*this);
-}
index 6e782bc593a26d5e713b615c2534a6211ac66e70..989d74c8b3b39f56d0cdcc9810c6352dd018152f 100644 (file)
@@ -1043,10 +1043,3 @@ operator << (std::ostream &os, const ArmSemihosting::InPlaceArg &ipa)
     ccprintf(os, "[%#x-%#x)", ipa.addr, ipa.addr + ipa.size - 1);
     return os;
 }
-
-
-ArmSemihosting *
-ArmSemihostingParams::create() const
-{
-    return new ArmSemihosting(*this);
-}
index 2f3f815540ca70e6d19b2bbe97c4e504244fed6d..a741537886a47ce8e61a84be88bf2e5f860ec6eb 100644 (file)
@@ -140,9 +140,3 @@ Stage2MMU::Stage2Translation::finish(const Fault &_fault,
         event->process();
     }
 }
-
-ArmISA::Stage2MMU *
-ArmStage2MMUParams::create() const
-{
-    return new ArmISA::Stage2MMU(*this);
-}
index d105fd44afd4e1a3a0388fd4dc4ec108db204dc1..bda5ed253c54148a8aa257b7ad84fb3eff2d8e8e 100644 (file)
@@ -234,9 +234,3 @@ ArmSystem::callClearWakeRequest(ThreadContext *tc)
     if (FVPBasePwrCtrl *pwr_ctrl = getArmSystem(tc)->getPowerController())
         pwr_ctrl->clearWakeRequest(tc);
 }
-
-ArmSystem *
-ArmSystemParams::create() const
-{
-    return new ArmSystem(*this);
-}
index 6e67dcd0bc0d64991a69bf075db39de942d27cc9..e658b026600db22044d8a9aaea5886f00a0edd90 100644 (file)
@@ -2251,12 +2251,6 @@ TableWalker::insertTableEntry(DescriptorBase &descriptor, bool longDescriptor)
     }
 }
 
-ArmISA::TableWalker *
-ArmTableWalkerParams::create() const
-{
-    return new ArmISA::TableWalker(*this);
-}
-
 LookupLevel
 TableWalker::toLookupLevel(uint8_t lookup_level_as_int)
 {
index 56bce27353f643fe73b89215f4c91423972e2953..0e6118697f8afb488e55d8855d4483649d30544c 100644 (file)
@@ -1692,10 +1692,3 @@ TLB::testWalk(Addr pa, Addr size, Addr va, bool is_secure, Mode mode,
                                domain, lookup_level);
     }
 }
-
-
-ArmISA::TLB *
-ArmTLBParams::create() const
-{
-    return new ArmISA::TLB(*this);
-}
index 1c6d4dfbb960ae62b11d30f3c846c397ae2af5e8..5cd37c9cdf7c35df151292505878a7327f939061 100644 (file)
@@ -1363,9 +1363,3 @@ TarmacParserRecord::iSetStateToStr(ISetState isetstate) const
 }
 
 } // namespace Trace
-
-Trace::TarmacParser *
-TarmacParserParams::create() const
-{
-    return new Trace::TarmacParser(*this);
-}
index 5d1b7120dcaa5e9a204dc1227d78d1064e9caf14..f56e0ad754d48c531e48fc2b166007730d5f8e49 100644 (file)
@@ -93,9 +93,3 @@ TarmacTracer::getInstRecord(Tick when, ThreadContext *tc,
 }
 
 } // namespace Trace
-
-Trace::TarmacTracer *
-TarmacTracerParams::create() const
-{
-    return new Trace::TarmacTracer(*this);
-}
index 62cf15d0505b7f3edf468c79c1dfbe1849849e20..2859a058efc4cf41ad85da85da7b89f51c114c31 100644 (file)
@@ -38,7 +38,6 @@ if env['TARGET_ISA'] == 'mips':
     Source('isa.cc')
     Source('linux/linux.cc')
     Source('linux/se_workload.cc')
-    Source('mmu.cc')
     Source('pagetable.cc')
     Source('process.cc')
     Source('remote_gdb.cc')
index 7421f3fa1eef3d93fee84b8b6b1638d3595f177e..0e6ea3f91bf20fa56b0d759da62b0d05470331b8 100644 (file)
@@ -184,9 +184,3 @@ Interrupts::interruptsPending() const
 }
 
 }
-
-MipsISA::Interrupts *
-MipsInterruptsParams::create() const
-{
-    return new MipsISA::Interrupts(*this);
-}
index 733ba0aa8e0c0997f0ccbdd872647c6d39d6c5aa..81748c6aad96ecbad82e4b01b424c4d7c8adad8f 100644 (file)
@@ -568,9 +568,3 @@ ISA::processCP0Event(BaseCPU *cpu, CP0EventType cp0EventType)
 }
 
 }
-
-MipsISA::ISA *
-MipsISAParams::create() const
-{
-    return new MipsISA::ISA(*this);
-}
index 5caed39c86eeabeaa23bfbefd55ede26c347ca83..0abe2632ed7f75ddf9814d9d44ea3c845ae3ea06 100644 (file)
@@ -477,9 +477,3 @@ SyscallDescTable<MipsISA::SEWorkload::SyscallABI> EmuLinux::syscallDescs = {
 };
 
 } // namespace MipsISA
-
-MipsISA::EmuLinux *
-MipsEmuLinuxParams::create() const
-{
-    return new MipsISA::EmuLinux(*this);
-}
diff --git a/src/arch/mips/mmu.cc b/src/arch/mips/mmu.cc
deleted file mode 100644 (file)
index a42685b..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2020 ARM Limited
- * All rights reserved
- *
- * The license below extends only to copyright in the software and shall
- * not be construed as granting a license to any other intellectual
- * property including but not limited to intellectual property relating
- * to a hardware implementation of the functionality of the software
- * licensed hereunder.  You may use the software subject to the license
- * terms below provided that you ensure that this notice is replicated
- * unmodified and in its entirety in all distributions of the software,
- * modified or unmodified, in source code or in binary form.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "arch/mips/mmu.hh"
-
-MipsISA::MMU *
-MipsMMUParams::create() const
-{
-    return new MipsISA::MMU(*this);
-}
index 4dd0aa2363749d2eef6625ffc38deb13514dba72..3ceb1ae14970bf68596ede94f041b564accf83d2 100644 (file)
@@ -256,9 +256,3 @@ TLB::index(bool advance)
 
     return *pte;
 }
-
-MipsISA::TLB *
-MipsTLBParams::create() const
-{
-    return new MipsISA::TLB(*this);
-}
index 1ae43f22c88e7a725fb625b9945b7349fbfba993..cf79094a7402f4166998b9aad02121d4ae3452ef 100644 (file)
@@ -40,10 +40,8 @@ if env['TARGET_ISA'] == 'power':
     Source('insts/floating.cc')
     Source('insts/condition.cc')
     Source('insts/static_inst.cc')
-    Source('interrupts.cc')
     Source('linux/linux.cc')
     Source('linux/se_workload.cc')
-    Source('mmu.cc')
     Source('isa.cc')
     Source('pagetable.cc')
     Source('process.cc')
diff --git a/src/arch/power/interrupts.cc b/src/arch/power/interrupts.cc
deleted file mode 100644 (file)
index 3d3e3fa..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2011 Google
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "arch/power/interrupts.hh"
-
-PowerISA::Interrupts *
-PowerInterruptsParams::create() const
-{
-    return new PowerISA::Interrupts(*this);
-}
index 06b3d938600c07896c1cb5181d1de8e09a63a69e..02a04c26d59e13953c9dad46ff71be741a83be78 100644 (file)
@@ -54,10 +54,3 @@ ISA::params() const
 }
 
 }
-
-PowerISA::ISA *
-PowerISAParams::create() const
-{
-    return new PowerISA::ISA(*this);
-}
-
index 7e2b22cfaacb0ec435b757fb501081ca5ee11294..864468ff6f72353608544da109ddfa69aa6cd64c 100644 (file)
@@ -448,9 +448,3 @@ SyscallDescTable<PowerISA::SEWorkload::SyscallABI> EmuLinux::syscallDescs = {
 };
 
 } // namespace PowerISA
-
-PowerISA::EmuLinux *
-PowerEmuLinuxParams::create() const
-{
-    return new PowerISA::EmuLinux(*this);
-}
diff --git a/src/arch/power/mmu.cc b/src/arch/power/mmu.cc
deleted file mode 100644 (file)
index 5aefcb3..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2020 ARM Limited
- * All rights reserved
- *
- * The license below extends only to copyright in the software and shall
- * not be construed as granting a license to any other intellectual
- * property including but not limited to intellectual property relating
- * to a hardware implementation of the functionality of the software
- * licensed hereunder.  You may use the software subject to the license
- * terms below provided that you ensure that this notice is replicated
- * unmodified and in its entirety in all distributions of the software,
- * modified or unmodified, in source code or in binary form.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "arch/power/mmu.hh"
-
-PowerISA::MMU *
-PowerMMUParams::create() const
-{
-    return new PowerISA::MMU(*this);
-}
index 88f66e0a515c0868d756a23ad3bfda7245e59c47..dd3b50a1264dcc0c0ddf6a2bebad7eee6b53e044 100644 (file)
@@ -278,9 +278,3 @@ TLB::index(bool advance)
 
     return *pte;
 }
-
-PowerISA::TLB *
-PowerTLBParams::create() const
-{
-    return new PowerISA::TLB(*this);
-}
index 5f1aedc9b419812c19fe5c9984a531e1a1276f62..3913be9d149307f9998bc7cdfcb0c7fab3ecddea 100644 (file)
@@ -46,9 +46,7 @@ if env['TARGET_ISA'] == 'riscv':
     Source('decoder.cc')
     Source('faults.cc')
     Source('isa.cc')
-    Source('interrupts.cc')
     Source('locked_mem.cc')
-    Source('mmu.cc')
     Source('process.cc')
     Source('pagetable.cc')
     Source('pagetable_walker.cc')
index eb2120c51320f14fe69ccb01d602e31483e2bcaa..e9a00ac0d349b914e473c280f177516e4726885b 100644 (file)
@@ -69,9 +69,3 @@ BareMetal::initState()
 }
 
 } // namespace RiscvISA
-
-RiscvISA::BareMetal *
-RiscvBareMetalParams::create() const
-{
-    return new RiscvISA::BareMetal(*this);
-}
diff --git a/src/arch/riscv/interrupts.cc b/src/arch/riscv/interrupts.cc
deleted file mode 100644 (file)
index 2cc88f1..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2011 Google
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "arch/riscv/interrupts.hh"
-
-RiscvISA::Interrupts *
-RiscvInterruptsParams::create() const
-{
-    return new RiscvISA::Interrupts(*this);
-}
index 080bf83a1e971472a0124c7237cfff4fa0bd5f82..8401310db30535dfbd21286deb88c6fa8bf23d0d 100644 (file)
@@ -411,9 +411,3 @@ ISA::unserialize(CheckpointIn &cp)
 }
 
 }
-
-RiscvISA::ISA *
-RiscvISAParams::create() const
-{
-    return new RiscvISA::ISA(*this);
-}
index 03a61d6d6a46791099fc18afd578990e4f025d14..a59423e5f1cee1d18647ff26762efb521a477962 100644 (file)
@@ -783,9 +783,3 @@ SyscallDescTable<SEWorkload::SyscallABI> EmuLinux::syscallDescs32 = {
 };
 
 } // namespace RiscvISA
-
-RiscvISA::EmuLinux *
-RiscvEmuLinuxParams::create() const
-{
-    return new RiscvISA::EmuLinux(*this);
-}
diff --git a/src/arch/riscv/mmu.cc b/src/arch/riscv/mmu.cc
deleted file mode 100644 (file)
index a50f9bf..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2020 ARM Limited
- * All rights reserved
- *
- * The license below extends only to copyright in the software and shall
- * not be construed as granting a license to any other intellectual
- * property including but not limited to intellectual property relating
- * to a hardware implementation of the functionality of the software
- * licensed hereunder.  You may use the software subject to the license
- * terms below provided that you ensure that this notice is replicated
- * unmodified and in its entirety in all distributions of the software,
- * modified or unmodified, in source code or in binary form.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "arch/riscv/mmu.hh"
-
-RiscvISA::MMU *
-RiscvMMUParams::create() const
-{
-    return new RiscvISA::MMU(*this);
-}
index 98f13200aad981a82763925ad5ebeaf9358328ae..e7e2b47baf1450d0ff928c35f55aa4d21a3b9f5c 100644 (file)
@@ -579,9 +579,3 @@ Walker::WalkerState::pageFault(bool present)
 }
 
 } /* end namespace RiscvISA */
-
-RiscvISA::Walker *
-RiscvPagetableWalkerParams::create() const
-{
-    return new RiscvISA::Walker(*this);
-}
index 62517e90cf07cc015fd0982ee5d245921765a8b5..c1ed30e021edb42f99db588efddad20cd50e201b 100644 (file)
@@ -512,9 +512,3 @@ TLB::TlbStats::TlbStats(Stats::Group *parent)
         read_accesses + write_accesses)
 {
 }
-
-RiscvISA::TLB *
-RiscvTLBParams::create() const
-{
-    return new TLB(*this);
-}
index 700c076e79cb820149646c5e5a811db05b360fd3..5563702d64ec9f77156d47b69c2055017e189008 100644 (file)
@@ -33,12 +33,10 @@ if env['TARGET_ISA'] == 'sparc':
     Source('decoder.cc')
     Source('faults.cc')
     Source('fs_workload.cc')
-    Source('interrupts.cc')
     Source('isa.cc')
     Source('linux/linux.cc')
     Source('linux/se_workload.cc')
     Source('linux/syscalls.cc')
-    Source('mmu.cc')
     Source('nativetrace.cc')
     Source('pagetable.cc')
     Source('process.cc')
index fc842c2c38f60a7bb514e08835d939f5d6550b56..813e728de7a38624bf9a6fccd3450f645af9f7d7 100644 (file)
@@ -50,9 +50,3 @@ FsWorkload::initState()
 }
 
 } // namespace SparcISA
-
-SparcISA::FsWorkload *
-SparcFsWorkloadParams::create() const
-{
-    return new SparcISA::FsWorkload(*this);
-}
diff --git a/src/arch/sparc/interrupts.cc b/src/arch/sparc/interrupts.cc
deleted file mode 100644 (file)
index d957b4e..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2008 The Regents of The University of Michigan
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "arch/sparc/interrupts.hh"
-
-SparcISA::Interrupts *
-SparcInterruptsParams::create() const
-{
-    return new SparcISA::Interrupts(*this);
-}
index c8ed63ee6918f173eb0556a9c4014a4e95c2f018..20f4412bb8c0853710abe7244b52d24225bd9cd5 100644 (file)
@@ -759,9 +759,3 @@ ISA::unserialize(CheckpointIn &cp)
 }
 
 }
-
-SparcISA::ISA *
-SparcISAParams::create() const
-{
-    return new SparcISA::ISA(*this);
-}
index 75f74cf658d3f84c84c491ac792df4d018155c02..c8d08bb1709940cde4397ab91230bc623a950e21 100644 (file)
@@ -137,9 +137,3 @@ EmuLinux::syscall(ThreadContext *tc)
 }
 
 } // namespace SparcISA
-
-SparcISA::EmuLinux *
-SparcEmuLinuxParams::create() const
-{
-    return new SparcISA::EmuLinux(*this);
-}
diff --git a/src/arch/sparc/mmu.cc b/src/arch/sparc/mmu.cc
deleted file mode 100644 (file)
index e2da2f4..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2020 ARM Limited
- * All rights reserved
- *
- * The license below extends only to copyright in the software and shall
- * not be construed as granting a license to any other intellectual
- * property including but not limited to intellectual property relating
- * to a hardware implementation of the functionality of the software
- * licensed hereunder.  You may use the software subject to the license
- * terms below provided that you ensure that this notice is replicated
- * unmodified and in its entirety in all distributions of the software,
- * modified or unmodified, in source code or in binary form.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "arch/sparc/mmu.hh"
-
-SparcISA::MMU *
-SparcMMUParams::create() const
-{
-    return new SparcISA::MMU(*this);
-}
index 7cd19c711866c46bcf759c96a0a57f4758cd9fc3..32ce10ee40fa209c87bb3ba245e65b4834ba03aa 100644 (file)
@@ -87,13 +87,3 @@ Trace::SparcNativeTrace::check(NativeTraceRecord *record)
 }
 
 } // namespace Trace
-
-////////////////////////////////////////////////////////////////////////
-//
-//  ExeTracer Simulation Object
-//
-Trace::SparcNativeTrace *
-SparcNativeTraceParams::create() const
-{
-    return new Trace::SparcNativeTrace(*this);
-};
index 9dde4ef781a04f8f3455d9094707e5c9564e3b0d..46e03e3c30d431d35016894e0af922358bf547ef 100644 (file)
@@ -1507,9 +1507,3 @@ TLB::unserialize(CheckpointIn &cp)
 }
 
 } // namespace SparcISA
-
-SparcISA::TLB *
-SparcTLBParams::create() const
-{
-    return new SparcISA::TLB(*this);
-}
index 7317ea96c10683a18f1b0a85fe7aa186f395ea77..f790ec19b6f2d27f36b004c8bafdada5085b73f0 100644 (file)
@@ -58,7 +58,6 @@ Source('insts/microregop.cc')
 Source('insts/static_inst.cc')
 Source('interrupts.cc')
 Source('isa.cc')
-Source('mmu.cc')
 Source('nativetrace.cc')
 Source('pagetable.cc')
 Source('pagetable_walker.cc')
index c4fd27dd005cfe189c11d2db140c47637923aaa9..5ecb09bd42c82442941bf1408291f8ef8aa69374 100644 (file)
@@ -68,21 +68,3 @@ X86ISA::ACPI::RSDT::RSDT(const Params &p) :
 X86ISA::ACPI::XSDT::XSDT(const Params &p) :
     SysDescTable(p, "XSDT", 1), entries(p.entries)
 {}
-
-X86ISA::ACPI::RSDP *
-X86ACPIRSDPParams::create() const
-{
-    return new X86ISA::ACPI::RSDP(*this);
-}
-
-X86ISA::ACPI::RSDT *
-X86ACPIRSDTParams::create() const
-{
-    return new X86ISA::ACPI::RSDT(*this);
-}
-
-X86ISA::ACPI::XSDT *
-X86ACPIXSDTParams::create() const
-{
-    return new X86ISA::ACPI::XSDT(*this);
-}
index 09cf3d1f6711b32e0ae348c6f0ba1ede30018453..a377703aaef2d3da722c1e3b362e80e466e39f23 100644 (file)
@@ -70,15 +70,3 @@ void X86ISA::E820Table::writeTo(PortProxy& proxy, Addr countAddr, Addr addr)
         writeVal(entries[i]->type, proxy, addr);
     }
 }
-
-E820Table *
-X86E820TableParams::create() const
-{
-    return new E820Table(*this);
-}
-
-E820Entry *
-X86E820EntryParams::create() const
-{
-    return new E820Entry(*this);
-}
index 2050c27bdd5034ece23ba6213fa67df3f6d85da0..6378c48bb5936ac234a273a6ce98ceebb334da42 100644 (file)
@@ -150,12 +150,6 @@ X86ISA::IntelMP::FloatingPointer::FloatingPointer(const Params &p) :
     defaultConfig(p.default_config), imcrPresent(p.imcr_present)
 {}
 
-X86ISA::IntelMP::FloatingPointer *
-X86IntelMPFloatingPointerParams::create() const
-{
-    return new X86ISA::IntelMP::FloatingPointer(*this);
-}
-
 Addr
 X86ISA::IntelMP::BaseConfigEntry::writeOut(PortProxy& proxy,
         Addr addr, uint8_t &checkSum)
@@ -253,12 +247,6 @@ X86ISA::IntelMP::ConfigTable::ConfigTable(const Params &p) : SimObject(p),
     baseEntries(p.base_entries), extEntries(p.ext_entries)
 {}
 
-X86ISA::IntelMP::ConfigTable *
-X86IntelMPConfigTableParams::create() const
-{
-    return new X86ISA::IntelMP::ConfigTable(*this);
-}
-
 Addr
 X86ISA::IntelMP::Processor::writeOut(
         PortProxy& proxy, Addr addr, uint8_t &checkSum)
@@ -290,12 +278,6 @@ X86ISA::IntelMP::Processor::Processor(const Params &p) : BaseConfigEntry(p, 0),
     replaceBits(cpuSignature, 11, 8, p.family);
 }
 
-X86ISA::IntelMP::Processor *
-X86IntelMPProcessorParams::create() const
-{
-    return new X86ISA::IntelMP::Processor(*this);
-}
-
 Addr
 X86ISA::IntelMP::Bus::writeOut(
         PortProxy& proxy, Addr addr, uint8_t &checkSum)
@@ -310,12 +292,6 @@ X86ISA::IntelMP::Bus::Bus(const Params &p) : BaseConfigEntry(p, 1),
     busID(p.bus_id), busType(p.bus_type)
 {}
 
-X86ISA::IntelMP::Bus *
-X86IntelMPBusParams::create() const
-{
-    return new X86ISA::IntelMP::Bus(*this);
-}
-
 Addr
 X86ISA::IntelMP::IOAPIC::writeOut(
         PortProxy& proxy, Addr addr, uint8_t &checkSum)
@@ -335,12 +311,6 @@ X86ISA::IntelMP::IOAPIC::IOAPIC(const Params &p) : BaseConfigEntry(p, 2),
         flags |= 1;
 }
 
-X86ISA::IntelMP::IOAPIC *
-X86IntelMPIOAPICParams::create() const
-{
-    return new X86ISA::IntelMP::IOAPIC(*this);
-}
-
 Addr
 X86ISA::IntelMP::IntAssignment::writeOut(
         PortProxy& proxy, Addr addr, uint8_t &checkSum)
@@ -361,24 +331,12 @@ X86ISA::IntelMP::IOIntAssignment::IOIntAssignment(const Params &p) :
             p.dest_io_apic_id, p.dest_io_apic_intin)
 {}
 
-X86ISA::IntelMP::IOIntAssignment *
-X86IntelMPIOIntAssignmentParams::create() const
-{
-    return new X86ISA::IntelMP::IOIntAssignment(*this);
-}
-
 X86ISA::IntelMP::LocalIntAssignment::LocalIntAssignment(const Params &p) :
     IntAssignment(p, p.interrupt_type, p.polarity, p.trigger, 4,
             p.source_bus_id, p.source_bus_irq,
             p.dest_local_apic_id, p.dest_local_apic_intin)
 {}
 
-X86ISA::IntelMP::LocalIntAssignment *
-X86IntelMPLocalIntAssignmentParams::create() const
-{
-    return new X86ISA::IntelMP::LocalIntAssignment(*this);
-}
-
 Addr
 X86ISA::IntelMP::AddrSpaceMapping::writeOut(
         PortProxy& proxy, Addr addr, uint8_t &checkSum)
@@ -397,12 +355,6 @@ X86ISA::IntelMP::AddrSpaceMapping::AddrSpaceMapping(const Params &p) :
     addr(p.address), addrLength(p.length)
 {}
 
-X86ISA::IntelMP::AddrSpaceMapping *
-X86IntelMPAddrSpaceMappingParams::create() const
-{
-    return new X86ISA::IntelMP::AddrSpaceMapping(*this);
-}
-
 Addr
 X86ISA::IntelMP::BusHierarchy::writeOut(
         PortProxy& proxy, Addr addr, uint8_t &checkSum)
@@ -426,12 +378,6 @@ X86ISA::IntelMP::BusHierarchy::BusHierarchy(const Params &p) :
         info |= 1;
 }
 
-X86ISA::IntelMP::BusHierarchy *
-X86IntelMPBusHierarchyParams::create() const
-{
-    return new X86ISA::IntelMP::BusHierarchy(*this);
-}
-
 Addr
 X86ISA::IntelMP::CompatAddrSpaceMod::writeOut(
         PortProxy& proxy, Addr addr, uint8_t &checkSum)
@@ -450,9 +396,3 @@ X86ISA::IntelMP::CompatAddrSpaceMod::CompatAddrSpaceMod(const Params &p) :
     if (p.add)
         mod |= 1;
 }
-
-X86ISA::IntelMP::CompatAddrSpaceMod *
-X86IntelMPCompatAddrSpaceModParams::create() const
-{
-    return new X86ISA::IntelMP::CompatAddrSpaceMod(*this);
-}
index 53897443b00028ccd9730c5b28885ac5e445e337..afe0f152fc6c5649ac40103f464c1cb0e1114715 100644 (file)
@@ -322,15 +322,3 @@ X86ISA::SMBios::SMBiosTable::writeOut(PortProxy& proxy, Addr addr,
     intChecksum = -intChecksum;
     proxy.writeBlob(addr + 0x15, &intChecksum, 1);
 }
-
-X86ISA::SMBios::BiosInformation *
-X86SMBiosBiosInformationParams::create() const
-{
-    return new X86ISA::SMBios::BiosInformation(*this);
-}
-
-X86ISA::SMBios::SMBiosTable *
-X86SMBiosSMBiosTableParams::create() const
-{
-    return new X86ISA::SMBios::SMBiosTable(*this);
-}
index a69e50b8d981f6b7d62c10f48cfac5605b9a82c6..7499e60938cbbfcb73d41650f93488a68149b498 100644 (file)
@@ -377,9 +377,3 @@ FsWorkload::writeOutMPTable(Addr fp, Addr &fpSize, Addr &tableSize, Addr table)
 }
 
 } // namespace X86ISA
-
-X86ISA::FsWorkload *
-X86FsWorkloadParams::create() const
-{
-    return new X86ISA::FsWorkload(*this);
-}
index 10a642107bd04fc80f6c037897d41e7814b67539..956cd3cba39f67305e0a2b08174a53b043390fb4 100644 (file)
@@ -773,12 +773,6 @@ X86ISA::Interrupts::unserialize(CheckpointIn &cp)
     }
 }
 
-X86ISA::Interrupts *
-X86LocalApicParams::create() const
-{
-    return new X86ISA::Interrupts(*this);
-}
-
 void
 X86ISA::Interrupts::processApicTimerEvent()
 {
index 86182879aaf351963d4f48c044133f89e4f4aa05..e4e526e0964b942ea7f8267422e1bce72c8891e1 100644 (file)
@@ -435,9 +435,3 @@ ISA::setThreadContext(ThreadContext *_tc)
 }
 
 }
-
-X86ISA::ISA *
-X86ISAParams::create() const
-{
-    return new X86ISA::ISA(*this);
-}
index c73e5b32e72d2b1394dda06a6a949ddabe5b0f8f..bb9f39fbe5b721e8e13e3bfec5ea689682ee3a32 100644 (file)
@@ -128,9 +128,3 @@ FsLinux::initState()
 }
 
 } // namespace X86ISA
-
-X86ISA::FsLinux *
-X86FsLinuxParams::create() const
-{
-    return new X86ISA::FsLinux(*this);
-}
index 961dedc18356dbadb86f6d495e510e7b25db71e9..72170f74a669b96d9f05846862a42789b61f9369 100644 (file)
@@ -169,9 +169,3 @@ EmuLinux::pageFault(ThreadContext *tc)
 }
 
 } // namespace X86ISA
-
-X86ISA::EmuLinux *
-X86EmuLinuxParams::create() const
-{
-    return new X86ISA::EmuLinux(*this);
-}
diff --git a/src/arch/x86/mmu.cc b/src/arch/x86/mmu.cc
deleted file mode 100644 (file)
index 5a06b3d..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2020 ARM Limited
- * All rights reserved
- *
- * The license below extends only to copyright in the software and shall
- * not be construed as granting a license to any other intellectual
- * property including but not limited to intellectual property relating
- * to a hardware implementation of the functionality of the software
- * licensed hereunder.  You may use the software subject to the license
- * terms below provided that you ensure that this notice is replicated
- * unmodified and in its entirety in all distributions of the software,
- * modified or unmodified, in source code or in binary form.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "arch/x86/mmu.hh"
-
-X86ISA::MMU *
-X86MMUParams::create() const
-{
-    return new X86ISA::MMU(*this);
-}
index f7277f9bcaefffd3d6f16a6bfc6dff7293f1c174..904b3eccf2da2843dcf1b83bde5026976518628c 100644 (file)
@@ -186,13 +186,3 @@ X86NativeTrace::check(NativeTraceRecord *record)
 }
 
 } // namespace Trace
-
-////////////////////////////////////////////////////////////////////////
-//
-//  ExeTracer Simulation Object
-//
-Trace::X86NativeTrace *
-X86NativeTraceParams::create() const
-{
-    return new Trace::X86NativeTrace(*this);
-}
index 943295a5fa29a30909d0d16079c204af5d80f795..4b7b88c186e39513eaf3195b14c725d1b8632c97 100644 (file)
@@ -736,9 +736,3 @@ Walker::WalkerState::pageFault(bool present)
 }
 
 /* end namespace X86ISA */ }
-
-X86ISA::Walker *
-X86PagetableWalkerParams::create() const
-{
-    return new X86ISA::Walker(*this);
-}
index d336eb4edd8423c5c0110d9e2f64b245bbbc8bf8..045015f92247a9e69cf18dd77e1d4140b8204f4d 100644 (file)
@@ -571,9 +571,3 @@ TLB::getTableWalkerPort()
 }
 
 } // namespace X86ISA
-
-X86ISA::TLB *
-X86TLBParams::create() const
-{
-    return new X86ISA::TLB(*this);
-}
index 7f72c810513d95a3289bd17dd6f34d7008f3b737..100f19859c38be7e4a083fe0d07926ee13bef582 100644 (file)
@@ -90,10 +90,3 @@ Block::hash(Addr addr) const
 }
 
 } // namespace BloomFilter
-
-BloomFilter::Block*
-BloomFilterBlockParams::create() const
-{
-    return new BloomFilter::Block(*this);
-}
-
index 0579b3dd7e65885d87000e2a7aa7ac5a0d7b7263..94876993515452711e0e13b228ecabeef622bb59 100644 (file)
@@ -96,10 +96,3 @@ Bulk::permute(Addr addr) const
 }
 
 } // namespace BloomFilter
-
-BloomFilter::Bulk*
-BloomFilterBulkParams::create() const
-{
-    return new BloomFilter::Bulk(*this);
-}
-
index 9027873106f6cd9351880a8de2e9731a440d4397..dabd0685d909a88c95b294db8cee8b71dbe58ef4 100644 (file)
@@ -390,10 +390,3 @@ H3::hash(Addr addr, int hash_number) const
 }
 
 } // namespace BloomFilter
-
-BloomFilter::H3*
-BloomFilterH3Params::create() const
-{
-    return new BloomFilter::H3(*this);
-}
-
index 7bd30848124b43169d80d6432209745b78d6248a..34208e8c7af8a63e4fdf89683d1e890e347c81a8 100644 (file)
@@ -95,9 +95,3 @@ MultiBitSel::hash(Addr addr, int hash_number) const
 
 } // namespace BloomFilter
 
-BloomFilter::MultiBitSel*
-BloomFilterMultiBitSelParams::create() const
-{
-    return new BloomFilter::MultiBitSel(*this);
-}
-
index 04fba3ddcd438dc69c28e92aeca042af311dfb44..728b7d50c8bcdada87b1bfe3cabfdb09a7f8e4ca 100644 (file)
@@ -110,10 +110,3 @@ Multi::getTotalCount() const
 }
 
 } // namespace BloomFilter
-
-BloomFilter::Multi*
-BloomFilterMultiParams::create() const
-{
-    return new BloomFilter::Multi(*this);
-}
-
index 00ec92da7503650ad609303b7b68afbf394c28b1..6cac44ee3a81e457a747981679d370c82b20d5a6 100644 (file)
@@ -79,10 +79,3 @@ Perfect::getTotalCount() const
 }
 
 } // namespace BloomFilter
-
-BloomFilter::Perfect*
-BloomFilterPerfectParams::create() const
-{
-    return new BloomFilter::Perfect(*this);
-}
-
index 34349ff5ca46a61a6a79617b27f3c78869e167c5..a4bedafb05340504965da246d1bdac9714640a7f 100644 (file)
@@ -133,10 +133,3 @@ VncInput::captureFrameBuffer()
 
     ++captureCurrentFrame;
 }
-
-// create the VNC Replayer object
-VncInput *
-VncInputParams::create() const
-{
-    return new VncInput(*this);
-}
index e72b771463ad8f3ee70f51bd6ecb11477ffe39aa..983a34375a5a41b64e281e082b5bba3961b764cd 100644 (file)
@@ -729,11 +729,3 @@ VncServer::frameBufferResized()
             detach();
     }
 }
-
-// create the VNC server object
-VncServer *
-VncServerParams::create() const
-{
-    return new VncServer(*this);
-}
-
index 194631a17a302a1fcfd67b9801602d03c2817ff7..391d592472305b73db00cd2140a035fa8cd7cd29 100644 (file)
@@ -119,5 +119,4 @@ Source('timing_expr.cc')
 SimObject('DummyChecker.py')
 SimObject('StaticInstFlags.py')
 Source('checker/cpu.cc')
-Source('dummy_checker.cc')
 DebugFlag('Checker')
diff --git a/src/cpu/dummy_checker.cc b/src/cpu/dummy_checker.cc
deleted file mode 100644 (file)
index 890bd34..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2011, 2019 ARM Limited
- * All rights reserved
- *
- * The license below extends only to copyright in the software and shall
- * not be construed as granting a license to any other intellectual
- * property including but not limited to intellectual property relating
- * to a hardware implementation of the functionality of the software
- * licensed hereunder.  You may use the software subject to the license
- * terms below provided that you ensure that this notice is replicated
- * unmodified and in its entirety in all distributions of the software,
- * modified or unmodified, in source code or in binary form.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "cpu/dummy_checker.hh"
-
-#include "params/DummyChecker.hh"
-
-DummyChecker *
-DummyCheckerParams::create() const
-{
-    // The checker should check all instructions executed by the main
-    // cpu and therefore any parameters for early exit don't make much
-    // sense.
-    fatal_if(max_insts_any_thread || max_insts_all_threads ||
-             progress_interval, "Invalid checker parameters");
-
-    return new DummyChecker(*this);
-}
index 0a144995bf506e562d69e83ef4d0722c9abef4d9..37d31afd769cb1730207fad5ad4eeaa83cb99171 100644 (file)
@@ -39,6 +39,7 @@
 #define __CPU_DUMMY_CHECKER_HH__
 
 #include "cpu/checker/cpu.hh"
+#include "params/DummyChecker.hh"
 
 /**
  * Specific non-templated derived class used for SimObject configuration.
 class DummyChecker : public CheckerCPU
 {
   public:
-    DummyChecker(const Params &p)
-          : CheckerCPU(p)
-    { }
+    DummyChecker(const Params &p) : CheckerCPU(p)
+    {
+        // The checker should check all instructions executed by the main
+        // cpu and therefore any parameters for early exit don't make much
+        // sense.
+        fatal_if(p.max_insts_any_thread || p.max_insts_all_threads ||
+                 p.progress_interval, "Invalid checker parameters");
+
+    }
 };
 
 #endif // __CPU_DUMMY_CHECKER_HH__
index 132a876bf366d5991b294f259147b42132ba3677..4980c917e30a23c466d519feac72f7a3a4081271 100644 (file)
@@ -199,13 +199,3 @@ Trace::ExeTracerRecord::dump()
 }
 
 } // namespace Trace
-
-////////////////////////////////////////////////////////////////////////
-//
-//  ExeTracer Simulation Object
-//
-Trace::ExeTracer *
-ExeTracerParams::create() const
-{
-    return new Trace::ExeTracer(*this);
-}
index 087fcb7cefb5a484b18d68ad0411f8349d6b935f..d131d76753918426b6b2b9005fc1749f9aebe58b 100644 (file)
@@ -95,38 +95,3 @@ FuncUnit::isPipelined(OpClass capability)
 {
     return pipelined[capability];
 }
-
-////////////////////////////////////////////////////////////////////////////
-//
-//  The SimObjects we use to get the FU information into the simulator
-//
-////////////////////////////////////////////////////////////////////////////
-
-//
-//  We use 2 objects to specify this data in the INI file:
-//    (1) OpDesc - Describes the operation class & latencies
-//                   (multiple OpDesc objects can refer to the same
-//                   operation classes)
-//    (2) FUDesc - Describes the operations available in the unit &
-//                   the number of these units
-//
-//
-
-
-//
-//  The operation-class description object
-//
-OpDesc *
-OpDescParams::create() const
-{
-    return new OpDesc(*this);
-}
-
-//
-//  The FuDesc object
-//
-FUDesc *
-FUDescParams::create() const
-{
-    return new FUDesc(*this);
-}
index 235a08c13702c872132ee0dfe2151ae8087a0537..42bf0fe981105918998a0b1bc556b1a492dd1131 100644 (file)
 #include "params/OpDesc.hh"
 #include "sim/sim_object.hh"
 
+////////////////////////////////////////////////////////////////////////////
+//
+//  The SimObjects we use to get the FU information into the simulator
+//
+////////////////////////////////////////////////////////////////////////////
+
+//
+//  We use 2 objects to specify this data in the INI file:
+//    (1) OpDesc - Describes the operation class & latencies
+//                   (multiple OpDesc objects can refer to the same
+//                   operation classes)
+//    (2) FUDesc - Describes the operations available in the unit &
+//                   the number of these units
+//
+//
+
 ////////////////////////////////////////////////////////////////////////////
 //
 //  Structures used ONLY during the initialization phase...
index 1bfd2163351c49bb6cf2534d1bf3931e95a7a3c0..f4a40f8aeb0a8d9e1c75e57edc3824054666760f 100644 (file)
@@ -174,11 +174,3 @@ InstPBTrace::traceMem(StaticInstPtr si, Addr a, Addr s, unsigned f)
 }
 
 } // namespace Trace
-
-
-Trace::InstPBTrace*
-InstPBTraceParams::create() const
-{
-    return new Trace::InstPBTrace(*this);
-}
-
index 805851f53881f79de69c3b2cf697c256ebc4ef83..68da261964f8f69356ba6314ceb41b7e1390553f 100644 (file)
@@ -54,13 +54,3 @@ Trace::IntelTraceRecord::dump()
 }
 
 } // namespace Trace
-
-////////////////////////////////////////////////////////////////////////
-//
-//  ExeTracer Simulation Object
-//
-Trace::IntelTrace *
-IntelTraceParams::create() const
-{
-    return new Trace::IntelTrace(*this);
-}
index b6a00ded621fc44006ad6b9ab4f8665ed823b7cf..b62483594d86db2945be2b12b6328957a8aa13f9 100644 (file)
@@ -74,9 +74,3 @@ IntrControl::havePosted(int cpu_id) const
     auto *tc = sys->threads[cpu_id];
     return tc->getCpuPtr()->checkInterrupts(tc->threadId());
 }
-
-IntrControl *
-IntrControlParams::create() const
-{
-    return new IntrControl(*this);
-}
index 5180e4458b2c647ea1d4a03e6fa89bb7cba12162..998641c73d88bbe33bb2b1c058dfa15f6d0323de 100644 (file)
@@ -43,9 +43,3 @@ void
 IntrControl::clear(int cpu_id, int int_num, int index)
 {
 }
-
-IntrControl *
-IntrControlParams::create() const
-{
-    return new IntrControl(*this);
-}
index 1ad09e6a0928b73928da2e1e1ba3d1bab7db653b..e0a500c540161d51f12c602eb831f9c635e2dff8 100644 (file)
@@ -64,6 +64,12 @@ Kvm *Kvm::instance = NULL;
 Kvm::Kvm()
     : kvmFD(-1), apiVersion(-1), vcpuMMapSize(0)
 {
+    static bool created = false;
+    if (created)
+        warn_once("Use of multiple KvmVMs is currently untested!");
+
+    created = true;
+
     kvmFD = ::open("/dev/kvm", O_RDWR);
     if (kvmFD == -1)
         fatal("KVM: Failed to open /dev/kvm\n");
@@ -579,16 +585,3 @@ KvmVM::ioctl(int request, long p1) const
 
     return ::ioctl(vmFD, request, p1);
 }
-
-
-KvmVM *
-KvmVMParams::create() const
-{
-    static bool created = false;
-    if (created)
-        warn_once("Use of multiple KvmVMs is currently untested!\n");
-
-    created = true;
-
-    return new KvmVM(*this);
-}
index 0d3aa26b0a163af4a5064f22ac1eb2f715509fa3..4a7d21bc967187339fc39583ec69bc16b989db35 100644 (file)
@@ -1621,9 +1621,3 @@ X86KvmCPU::setVCpuEvents(const struct kvm_vcpu_events &events)
     if (ioctl(KVM_SET_VCPU_EVENTS, (void *)&events) == -1)
         panic("KVM: Failed to set guest debug registers\n");
 }
-
-X86KvmCPU *
-X86KvmCPUParams::create() const
-{
-    return new X86KvmCPU(*this);
-}
index 2fde17d8270376f5b469c373abbfad3338bb7afd..18a3feed9b0df94662091146c20134cdc84d1041 100644 (file)
@@ -291,12 +291,6 @@ MinorCPU::wakeupOnEvent(unsigned int stage_id)
     pipeline->start();
 }
 
-MinorCPU *
-MinorCPUParams::create() const
-{
-    return new MinorCPU(*this);
-}
-
 Port &
 MinorCPU::getInstPort()
 {
index ffe7f329a7b6ec79c3ea2abd9ac23c614382b2f1..a7ccc08fbefbdd9da723ae661dae6bb3757637a5 100644 (file)
 #include "debug/MinorTiming.hh"
 #include "enums/OpClass.hh"
 
-MinorOpClass *
-MinorOpClassParams::create() const
-{
-    return new MinorOpClass(*this);
-}
-
-MinorOpClassSet *
-MinorOpClassSetParams::create() const
-{
-    return new MinorOpClassSet(*this);
-}
-
-MinorFUTiming *
-MinorFUTimingParams::create() const
-{
-    return new MinorFUTiming(*this);
-}
-
-MinorFU *
-MinorFUParams::create() const
-{
-    return new MinorFU(*this);
-}
-
-MinorFUPool *
-MinorFUPoolParams::create() const
-{
-    return new MinorFUPool(*this);
-}
-
 MinorOpClassSet::MinorOpClassSet(const MinorOpClassSetParams &params) :
     SimObject(params),
     opClasses(params.opClasses),
index 3966f972f3ea1b806249e520e24f846819ae7f09..f43ec643d17ab08b912460cb624ebcaeed2aa32f 100755 (executable)
@@ -38,7 +38,6 @@ if 'O3CPU' in env['CPU_MODELS']:
     Source('base_dyn_inst.cc')
     Source('commit.cc')
     Source('cpu.cc')
-    Source('deriv.cc')
     Source('decode.cc')
     Source('dyn_inst.cc')
     Source('fetch.cc')
index 7613e0861e8ea74ca80aeafbf6144ca29ea26114..ff498edabf85d480b5e57c973c0d9b6713ade86a 100644 (file)
 #include "cpu/o3/checker.hh"
 
 #include "cpu/checker/cpu_impl.hh"
-#include "params/O3Checker.hh"
 
 template
 class Checker<O3CPUImpl>;
-
-O3Checker *
-O3CheckerParams::create() const
-{
-    // The checker should check all instructions executed by the main
-    // cpu and therefore any parameters for early exit don't make much
-    // sense.
-    fatal_if(max_insts_any_thread || max_insts_all_threads ||
-             progress_interval, "Invalid checker parameters");
-
-    return new O3Checker(*this);
-}
index 8751a184e3615faeaed106451509aced148d15de..0c7d6294ae50996941f31253777a30e4459f3a07 100644 (file)
 class O3Checker : public Checker<O3CPUImpl>
 {
   public:
-    O3Checker(const Params &p) : Checker<O3CPUImpl>(p) {}
+    O3Checker(const Params &p) : Checker<O3CPUImpl>(p)
+    {
+        // The checker should check all instructions executed by the main
+        // cpu and therefore any parameters for early exit don't make much
+        // sense.
+        fatal_if(p.max_insts_any_thread || p.max_insts_all_threads ||
+                 p.progress_interval, "Invalid checker parameters");
+    }
 };
 
 #endif // __CPU_O3_CHECKER_HH__
diff --git a/src/cpu/o3/deriv.cc b/src/cpu/o3/deriv.cc
deleted file mode 100644 (file)
index dbcd34e..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2004-2006 The Regents of The University of Michigan
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met: redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer;
- * redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution;
- * neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "cpu/o3/deriv.hh"
-
-#include <string>
-
-#include "params/DerivO3CPU.hh"
-
-DerivO3CPU *
-DerivO3CPUParams::create() const
-{
-    return new DerivO3CPU(*this);
-}
index 7c4b44d69684b200bd95937065dfff176d129648..caab18147ef31c6cf1b1c90a549a40e73f599245 100644 (file)
@@ -245,24 +245,3 @@ FUPool::isDrained() const
 
     return is_drained;
 }
-
-//
-
-////////////////////////////////////////////////////////////////////////////
-//
-//  The SimObjects we use to get the FU information into the simulator
-//
-////////////////////////////////////////////////////////////////////////////
-
-//
-//    FUPool - Contails a list of FUDesc objects to make available
-//
-
-//
-//  The FuPool object
-//
-FUPool *
-FUPoolParams::create() const
-{
-    return new FUPool(*this);
-}
index 0f7e9b50bc5f54a84ef2fc91d3c9faa72da852b5..aee97bd9828b2059de39508e5e2e5b8e9eb5b18b 100644 (file)
@@ -919,9 +919,3 @@ ElasticTrace::flushTraces()
     delete dataTraceStream;
     delete instTraceStream;
 }
-
-ElasticTrace*
-ElasticTraceParams::create() const
-{
-    return new ElasticTrace(*this);
-}
index 9891cf28a528858008e1dadb64e98b4c898f0531..cc4cceaa674f0b109c88bedd3838f2350693ffb3 100644 (file)
@@ -63,9 +63,3 @@ void SimpleTrace::regProbeListeners()
     listeners.push_back(new DynInstListener(this, "Fetch",
                 &SimpleTrace::traceFetch));
 }
-
-SimpleTrace*
-SimpleTraceParams::create() const
-{
-    return new SimpleTrace(*this);
-}
index 5f076673a29596cbfadcbe6ce6e2691287192c8c..5e5e54fbc92e1ee9251c53b4246ce6cc9033e51b 100644 (file)
@@ -133,9 +133,3 @@ void
 LocalBP::uncondBranch(ThreadID tid, Addr pc, void *&bp_history)
 {
 }
-
-LocalBP*
-LocalBPParams::create() const
-{
-    return new LocalBP(*this);
-}
index 4d435a82fe7f3aea14ffea5e8c07d0a3d1889e25..de22e3f8b5ca002852f29bdd2a4f4f3f2ee22f52 100644 (file)
@@ -225,9 +225,3 @@ BiModeBP::updateGlobalHistReg(ThreadID tid, bool taken)
                                (globalHistoryReg[tid] << 1);
     globalHistoryReg[tid] &= historyRegisterMask;
 }
-
-BiModeBP*
-BiModeBPParams::create() const
-{
-    return new BiModeBP(*this);
-}
index af3b521f077086b7243f4d191c5220b07e2dacbb..884ef6e412df466e47d45ff82b0fecafe0a4203e 100644 (file)
@@ -362,9 +362,3 @@ LoopPredictor::getSizeInBits() const
         loopTableConfidenceBits + loopTableTagBits +
         loopTableAgeBits + useDirectionBit);
 }
-
-LoopPredictor *
-LoopPredictorParams::create() const
-{
-    return new LoopPredictor(*this);
-}
index e770336d0d6271c7c337d80fd2d6b433b4cbfe68..41fad855c437a57f407c537f2a77dd7937f6d660 100644 (file)
@@ -146,9 +146,3 @@ LTAGE::regStats()
 {
     TAGE::regStats();
 }
-
-LTAGE*
-LTAGEParams::create() const
-{
-    return new LTAGE(*this);
-}
index ba45232ba39143306232fe14d3f4febf058c7a01..035d8bdee83659b97cb810574e7feac9761db427 100644 (file)
@@ -85,9 +85,3 @@ MultiperspectivePerceptron64KB::createSpecs() {
     addSpec(new SGHISTPATH(1, 2, 5, 1.25, 768, 6, *this));
     addSpec(new SGHISTPATH(1, 5, 2, 1.3125, 972, 6, *this));
 }
-
-MultiperspectivePerceptron64KB*
-MultiperspectivePerceptron64KBParams::create() const
-{
-    return new MultiperspectivePerceptron64KB(*this);
-}
index 7279957ad889359f7b9a47e2816d70f954a20b97..a4abe5232aa75d482305327d1a520280f7151336 100644 (file)
@@ -64,9 +64,3 @@ MultiperspectivePerceptron8KB::createSpecs() {
     addSpec(new SGHISTPATH(0, 4, 3, 1.65625, 0, 6, *this));
     addSpec(new SGHISTPATH(1, 2, 5, 2.53125, 0, 5, *this));
 }
-
-    MultiperspectivePerceptron8KB*
-MultiperspectivePerceptron8KBParams::create() const
-{
-    return new MultiperspectivePerceptron8KB(*this);
-}
index 3f1803d852eefcfad53e12265d240102494d1efb..8068c3d7afaa6d3073f8f0acaa04a6ce65470035 100644 (file)
@@ -242,12 +242,6 @@ MPP_TAGE::isHighConfidence(TAGEBase::BranchInfo *bi) const
 
 }
 
-MPP_TAGE*
-MPP_TAGEParams::create() const
-{
-    return new MPP_TAGE(*this);
-}
-
 bool
 MPP_LoopPredictor::calcConf(int index) const
 {
@@ -261,12 +255,6 @@ MPP_LoopPredictor::optionalAgeInc() const
     return ((random_mt.random<int>() & 7) == 0);
 }
 
-MPP_LoopPredictor*
-MPP_LoopPredictorParams::create() const
-{
-    return new MPP_LoopPredictor(*this);
-}
-
 MPP_StatisticalCorrector::MPP_StatisticalCorrector(
         const MPP_StatisticalCorrectorParams &p) : StatisticalCorrector(p),
     thirdH(0), pnb(p.pnb), logPnb(p.logPnb), pm(p.pm), gnb(p.gnb),
index 8d4d40099cb4da7cc967ca7be46ccd67b3d696df..68ecd9e968efcb14e5c25d9e7ee00fbbd8853390 100644 (file)
@@ -196,13 +196,6 @@ MPP_StatisticalCorrector_64KB::getSizeInBits() const
     return bits;
 }
 
-MPP_StatisticalCorrector_64KB*
-MPP_StatisticalCorrector_64KBParams::create() const
-{
-    return new MPP_StatisticalCorrector_64KB(*this);
-}
-
-
 MultiperspectivePerceptronTAGE64KB::MultiperspectivePerceptronTAGE64KB(
         const MultiperspectivePerceptronTAGE64KBParams &p)
     : MultiperspectivePerceptronTAGE(p)
@@ -222,9 +215,3 @@ MultiperspectivePerceptronTAGE64KB::createSpecs()
     addSpec(new RECENCY(9, 3, -1, 2.51, 0, 6, *this));
     addSpec(new ACYCLIC(12, -1, -1, 2.0, 0, 6, *this));
 }
-
-MultiperspectivePerceptronTAGE64KB*
-MultiperspectivePerceptronTAGE64KBParams::create() const
-{
-    return new MultiperspectivePerceptronTAGE64KB(*this);
-}
index e7c8ad5d551d2afbd6b84c1eabd40570349f8f38..f02a8bfe27e106eaf13c2ee136708f68d81291d8 100644 (file)
 
 #include "cpu/pred/multiperspective_perceptron_tage_8KB.hh"
 
-MPP_TAGE_8KB*
-MPP_TAGE_8KBParams::create() const
-{
-    return new MPP_TAGE_8KB(*this);
-}
-
-MPP_LoopPredictor_8KB*
-MPP_LoopPredictor_8KBParams::create() const
-{
-    return new MPP_LoopPredictor_8KB(*this);
-}
-
 MPP_StatisticalCorrector_8KB::MPP_StatisticalCorrector_8KB(
         const MPP_StatisticalCorrector_8KBParams &p)
   : MPP_StatisticalCorrector(p)
@@ -167,12 +155,6 @@ MPP_StatisticalCorrector_8KB::getSizeInBits() const
     return bits;
 }
 
-MPP_StatisticalCorrector_8KB*
-MPP_StatisticalCorrector_8KBParams::create() const
-{
-    return new MPP_StatisticalCorrector_8KB(*this);
-}
-
 MultiperspectivePerceptronTAGE8KB::MultiperspectivePerceptronTAGE8KB(
         const MultiperspectivePerceptronTAGE8KBParams &p)
     : MultiperspectivePerceptronTAGE(p)
@@ -188,9 +170,3 @@ MultiperspectivePerceptronTAGE8KB::createSpecs()
     addSpec(new IMLI(1, 2.23, 0, 6, *this));
     addSpec(new IMLI(4, 1.98, 0, 6, *this));
 }
-
-MultiperspectivePerceptronTAGE8KB*
-MultiperspectivePerceptronTAGE8KBParams::create() const
-{
-    return new MultiperspectivePerceptronTAGE8KB(*this);
-}
index 5faab86adb36747395bf28cdf4b2bb900e106a4a..6000f90d500979d6a7f63696cbf2b936d313e303 100644 (file)
@@ -233,9 +233,3 @@ SimpleIndirectPredictor::getTag(Addr br_addr)
 {
     return (br_addr >> instShift) & ((0x1<<tagBits)-1);
 }
-
-SimpleIndirectPredictor *
-SimpleIndirectPredictorParams::create() const
-{
-    return new SimpleIndirectPredictor(*this);
-}
index db649afd28310c27f0710ca6542aa5d95f963500..353da7550b47968b609cfce29d26fb2cba066232 100644 (file)
@@ -125,9 +125,3 @@ TAGE::uncondBranch(ThreadID tid, Addr br_pc, void* &bp_history)
     TageBranchInfo *bi = static_cast<TageBranchInfo*>(bp_history);
     tage->updateHistories(tid, br_pc, true, bi->tageBranchInfo, true);
 }
-
-TAGE*
-TAGEParams::create() const
-{
-    return new TAGE(*this);
-}
index d788ada51c593a59b9b30c6117e0763f03dbfd3d..9a436aed102dbb81c9a1a0e99340e4fdbed921a3 100644 (file)
@@ -790,9 +790,3 @@ TAGEBase::getSizeInBits() const {
     bits += logUResetPeriod;
     return bits;
 }
-
-TAGEBase*
-TAGEBaseParams::create() const
-{
-    return new TAGEBase(*this);
-}
index 18fe983972aedc4c8db753804623596015c39859..01171cbb6221c6d63eadbbe715ac6be6b04537e8 100644 (file)
@@ -58,12 +58,6 @@ TAGE_SC_L_LoopPredictor::optionalAgeInc() const
     return (random_mt.random<int>() & 7) == 0;
 }
 
-TAGE_SC_L_LoopPredictor *
-TAGE_SC_L_LoopPredictorParams::create() const
-{
-    return new TAGE_SC_L_LoopPredictor(*this);
-}
-
 TAGE_SC_L::TAGE_SC_L(const TAGE_SC_LParams &p)
   : LTAGE(p), statisticalCorrector(p.statistical_corrector)
 {
index 2d71394ad0db334c93e90546820d091131c9f63f..f7a5eaca41ece8781d581b263d3c52161d2e0bfd 100644 (file)
@@ -190,12 +190,6 @@ TAGE_SC_L_64KB_StatisticalCorrector::gUpdates(ThreadID tid, Addr pc,
             igehl, inb, logInb, wi, bi);
 }
 
-TAGE_SC_L_64KB_StatisticalCorrector*
-TAGE_SC_L_64KB_StatisticalCorrectorParams::create() const
-{
-    return new TAGE_SC_L_64KB_StatisticalCorrector(*this);
-}
-
 int
 TAGE_SC_L_TAGE_64KB::gindex_ext(int index, int bank) const
 {
@@ -309,19 +303,7 @@ TAGE_SC_L_TAGE_64KB::handleTAGEUpdate(Addr branch_pc, bool taken,
     }
 }
 
-TAGE_SC_L_TAGE_64KB*
-TAGE_SC_L_TAGE_64KBParams::create() const
-{
-    return new TAGE_SC_L_TAGE_64KB(*this);
-}
-
 TAGE_SC_L_64KB::TAGE_SC_L_64KB(const TAGE_SC_L_64KBParams &params)
   : TAGE_SC_L(params)
 {
 }
-
-TAGE_SC_L_64KB*
-TAGE_SC_L_64KBParams::create() const
-{
-    return new TAGE_SC_L_64KB(*this);
-}
index ec5571a8bec5edf78ca0f780c8138791086435f1..dc48ccee39383c8242f5a9646f4b41b365977c77 100644 (file)
@@ -132,12 +132,6 @@ TAGE_SC_L_8KB_StatisticalCorrector::gUpdates(ThreadID tid, Addr pc, bool taken,
     gUpdate(pc, taken, sh->imliCount, im, igehl, inb, logInb, wi, bi);
 }
 
-TAGE_SC_L_8KB_StatisticalCorrector*
-TAGE_SC_L_8KB_StatisticalCorrectorParams::create() const
-{
-    return new TAGE_SC_L_8KB_StatisticalCorrector(*this);
-}
-
 TAGE_SC_L_8KB::TAGE_SC_L_8KB(const TAGE_SC_L_8KBParams &params)
   : TAGE_SC_L(params)
 {
@@ -316,15 +310,3 @@ TAGE_SC_L_TAGE_8KB::handleTAGEUpdate(Addr branch_pc, bool taken,
             gtable[bi->hitBank][bi->hitBankIndex].u++;
     }
 }
-
-TAGE_SC_L_TAGE_8KB*
-TAGE_SC_L_TAGE_8KBParams::create() const
-{
-    return new TAGE_SC_L_TAGE_8KB(*this);
-}
-
-TAGE_SC_L_8KB*
-TAGE_SC_L_8KBParams::create() const
-{
-    return new TAGE_SC_L_8KB(*this);
-}
index 1eb15c2259e870d0caf7564a3b7522bff8d4b4f2..b50b6c79e5f379d2532a328104427d7581ca0984 100644 (file)
@@ -343,12 +343,6 @@ TournamentBP::squash(ThreadID tid, void *bp_history)
     delete history;
 }
 
-TournamentBP*
-TournamentBPParams::create() const
-{
-    return new TournamentBP(*this);
-}
-
 #ifdef DEBUG
 int
 TournamentBP::BPHistory::newCount = 0;
index d7df3c8694093eca457db85a9af42b9b85fe4b33..70162c9013d9adfe109cae00c821d3fba68b9b96 100644 (file)
@@ -771,13 +771,3 @@ AtomicSimpleCPU::printAddr(Addr a)
 {
     dcachePort.printAddr(a);
 }
-
-////////////////////////////////////////////////////////////////////////
-//
-//  AtomicSimpleCPU Simulation Object
-//
-AtomicSimpleCPU *
-AtomicSimpleCPUParams::create() const
-{
-    return new AtomicSimpleCPU(*this);
-}
index 9ab30d192b0663bf8a8817c2a64858fa520be7e9..44d57fb94a894fe737af7974a2b2d7128aa52687 100644 (file)
@@ -42,6 +42,9 @@
 NonCachingSimpleCPU::NonCachingSimpleCPU(const NonCachingSimpleCPUParams &p)
     : AtomicSimpleCPU(p)
 {
+    assert(p.numThreads == 1);
+    fatal_if(!FullSystem && p.workload.size() != 1,
+             "only one workload allowed");
 }
 
 void
@@ -63,12 +66,3 @@ NonCachingSimpleCPU::sendPacket(RequestPort &port, const PacketPtr &pkt)
         return port.sendAtomic(pkt);
     }
 }
-
-NonCachingSimpleCPU *
-NonCachingSimpleCPUParams::create() const
-{
-    assert(numThreads == 1);
-    if (!FullSystem && workload.size() != 1)
-        fatal("only one workload allowed");
-    return new NonCachingSimpleCPU(*this);
-}
index c4193a3c984b847b63efc94d9b7e5688b7c4d3fa..d835b2b99a02083383b92b7b967e4e9ff072b44c 100644 (file)
@@ -138,10 +138,3 @@ SimPoint::profile(const std::pair<SimpleThread*, StaticInstPtr>& p)
         }
     }
 }
-
-/** SimPoint SimObject */
-SimPoint*
-SimPointParams::create() const
-{
-    return new SimPoint(*this);
-}
index 30637a24077a4632fee8a8b61a557d1e32689083..9c529b4032759dc177e9892c81148a30a37631f0 100644 (file)
@@ -1290,14 +1290,3 @@ TimingSimpleCPU::htmSendAbortSignal(HtmFailureFaultCause cause)
 
     sendData(req, data, nullptr, true);
 }
-
-
-////////////////////////////////////////////////////////////////////////
-//
-//  TimingSimpleCPU Simulation Object
-//
-TimingSimpleCPU *
-TimingSimpleCPUParams::create() const
-{
-    return new TimingSimpleCPU(*this);
-}
index 4001501196bb3585862e7ff4c6b67c76d137bcb4..e55a731e11089aeab7b21d55af1fbe3c02413ff6 100644 (file)
@@ -133,9 +133,3 @@ InvalidateGenerator::performCallback(uint32_t proc, Addr address)
     }
 
 }
-
-InvalidateGenerator *
-InvalidateGeneratorParams::create() const
-{
-    return new InvalidateGenerator(*this);
-}
index 74a809d97f1c71e645d7fb661ef926ca1b852437..455a9863b4f9c16bedb4232af6a03d089c2c1ada 100644 (file)
@@ -136,9 +136,3 @@ RubyDirectedTester::wakeup()
         exitSimLoop("Ruby DirectedTester completed");
     }
 }
-
-RubyDirectedTester *
-RubyDirectedTesterParams::create() const
-{
-    return new RubyDirectedTester(*this);
-}
index bf32bf1f97c785e7add543e7371500acc98fa179..5704ea09a0e69bfa3af5e884f32f4498e17a7dc3 100644 (file)
@@ -108,9 +108,3 @@ SeriesRequestGenerator::performCallback(uint32_t proc, Addr address)
         m_active_node = 0;
     }
 }
-
-SeriesRequestGenerator *
-SeriesRequestGeneratorParams::create() const
-{
-    return new SeriesRequestGenerator(*this);
-}
index 03ed862de9214c64f9c33420464d0e1c9ed6b675..b4f3511d4135c1c450bb73da5a4946f6969526f9 100644 (file)
@@ -348,10 +348,3 @@ GarnetSyntheticTraffic::printAddr(Addr a)
 {
     cachePort.printAddr(a);
 }
-
-
-GarnetSyntheticTraffic *
-GarnetSyntheticTrafficParams::create() const
-{
-    return new GarnetSyntheticTraffic(*this);
-}
index 99cefb771cd260c1c8538761326b263da5ccb53d..d2002a28f1ebf8c3397e84b607f20ec2a664b113 100644 (file)
@@ -321,9 +321,3 @@ MemTest::recvRetry()
         reschedule(noRequestEvent, clockEdge(progressCheck), true);
     }
 }
-
-MemTest *
-MemTestParams::create() const
-{
-    return new MemTest(*this);
-}
index de715a867383a1e41b54713d96029fc532916d78..9209b172db71284d8eb3ba842720736d8f534f94 100644 (file)
@@ -278,9 +278,3 @@ RubyTester::print(std::ostream& out) const
 {
     out << "[RubyTester]" << std::endl;
 }
-
-RubyTester *
-RubyTesterParams::create() const
-{
-    return new RubyTester(*this);
-}
index 0d5e88026df5ea5fd410cb99b733d5c148c0ba17..52ceddb578e7304668cefb6806d9e7381b1a7833 100644 (file)
@@ -90,9 +90,3 @@ pybind_init_tracers(py::module &m_native)
 
 static EmbeddedPyBind _py_tracers("trace", pybind_init_tracers);
 
-PyTrafficGen*
-PyTrafficGenParams::create() const
-{
-    return new PyTrafficGen(*this);
-}
-
index 0d7ea9d30b522cc6f5f2827386cb5d9044c298e6..5005665559aec185e972c37f749122c0ef6b3ac1 100644 (file)
@@ -58,12 +58,6 @@ TrafficGen::TrafficGen(const TrafficGenParams &p)
 {
 }
 
-TrafficGen*
-TrafficGenParams::create() const
-{
-    return new TrafficGen(*this);
-}
-
 void
 TrafficGen::init()
 {
index 9938c0cce230472d60726bfbfe375d1d39001935..5a13b1b0ff2fe8253ef4bbd129ff9e3cbddf25b9 100644 (file)
@@ -197,51 +197,3 @@ uint64_t TimingExprIf::eval(TimingExprEvalContext &context)
     else
         return falseExpr->eval(context);
 }
-
-TimingExprLiteral *
-TimingExprLiteralParams::create() const
-{
-    return new TimingExprLiteral(*this);
-}
-
-TimingExprSrcReg *
-TimingExprSrcRegParams::create() const
-{
-    return new TimingExprSrcReg(*this);
-}
-
-TimingExprReadIntReg *
-TimingExprReadIntRegParams::create() const
-{
-    return new TimingExprReadIntReg(*this);
-}
-
-TimingExprLet *
-TimingExprLetParams::create() const
-{
-    return new TimingExprLet(*this);
-}
-
-TimingExprRef *
-TimingExprRefParams::create() const
-{
-    return new TimingExprRef(*this);
-}
-
-TimingExprUn *
-TimingExprUnParams::create() const
-{
-    return new TimingExprUn(*this);
-}
-
-TimingExprBin *
-TimingExprBinParams::create() const
-{
-    return new TimingExprBin(*this);
-}
-
-TimingExprIf *
-TimingExprIfParams::create() const
-{
-    return new TimingExprIf(*this);
-}
index b2326eb11e7ccd31972c5b1687707cf2577ed899..57f249707f8312750a54771e2d9a0da48c31ee5d 100644 (file)
@@ -82,12 +82,6 @@ TraceCPU::~TraceCPU()
 
 }
 
-TraceCPU*
-TraceCPUParams::create() const
-{
-    return new TraceCPU(*this);
-}
-
 void
 TraceCPU::updateNumOps(uint64_t rob_num)
 {
index aab28b8022d3cece3c476b877eb05a3e59eb834f..2bc713e0d41be4fe5ffb442bc5b4b06bb9efe105 100644 (file)
@@ -103,9 +103,3 @@ A9SCU::write(PacketPtr pkt)
     pkt->makeAtomicResponse();
     return pioDelay;
 }
-
-A9SCU *
-A9SCUParams::create() const
-{
-    return new A9SCU(*this);
-}
index c387854264349cd9ee5940e3187f6d639fe4160e..0048c8aa01dcae32bca66410928f9cf9bfdc0296 100644 (file)
@@ -81,10 +81,3 @@ AmbaFake::write(PacketPtr pkt)
     pkt->makeAtomicResponse();
     return pioDelay;
 }
-
-
-AmbaFake *
-AmbaFakeParams::create() const
-{
-    return new AmbaFake(*this);
-}
index f94d197c8ff864085cba5ddd29fe9273e4013e5c..8229a55b1c94f1a651ce736a3d272f95e4eb259b 100644 (file)
@@ -194,15 +194,3 @@ ArmPPI::clear()
     _active = false;
     platform->gic->clearPPInt(intNum, targetContext());
 }
-
-ArmSPIGen *
-ArmSPIParams::create() const
-{
-    return new ArmSPIGen(*this);
-}
-
-ArmPPIGen *
-ArmPPIParams::create() const
-{
-    return new ArmPPIGen(*this);
-}
index 1bfb161309140c903b90067d0ac0074d26775279..e4b7449a9aab1a1cd144ae882eefa1d8a837eac4 100644 (file)
@@ -42,9 +42,3 @@
 Display::Display(const DisplayParams &p)
   : SimObject(p)
 {}
-
-Display *
-DisplayParams::create() const
-{
-    return new Display(*this);
-}
index fadc36d916f011026806dc51a9f65bf26d343fa3..be2155d6dbc84ef267978127aad69a8086d3f8ef 100644 (file)
@@ -241,12 +241,6 @@ EnergyCtrl::unserialize(CheckpointIn &cp)
     }
 }
 
-EnergyCtrl *
-EnergyCtrlParams::create() const
-{
-    return new EnergyCtrl(*this);
-}
-
 void
 EnergyCtrl::startup()
 {
index 1558817489c520ad58f5a1b69963017e2b505625..c8801233185fe6ab15d9793db7e7541cb83fbc12 100644 (file)
 #include "base/trace.hh"
 #include "debug/Drain.hh"
 
-/**
- * Create this device
- */
-
-FlashDevice*
-FlashDeviceParams::create() const
-{
-    return new FlashDevice(*this);
-}
-
-
 /**
  * Flash Device constructor and destructor
  */
index fae1f6d53c14caeb2450a28ea16b60141841b3b8..beeb92642d93fbec579ab1ae79d51828cd0b4014 100644 (file)
@@ -310,9 +310,3 @@ FVPBasePwrCtrl::startCoreUp(ThreadContext *const tc)
     ArmISA::Reset().invoke(tc);
     tc->activate();
 }
-
-FVPBasePwrCtrl *
-FVPBasePwrCtrlParams::create() const
-{
-    return new FVPBasePwrCtrl(*this);
-}
index 5d5eff451c1d29ec1a5e8a5d364b0afc1dfd4c1d..6c01049a1145bfd8c347634f012c61c811895735 100644 (file)
@@ -1584,27 +1584,3 @@ GenericTimerMem::timerCtrlWrite(Addr addr, size_t size, uint64_t data,
              "(0x%x:%i), assuming WI\n", addr, size);
     }
 }
-
-SystemCounter *
-SystemCounterParams::create() const
-{
-    return new SystemCounter(*this);
-}
-
-GenericTimer *
-GenericTimerParams::create() const
-{
-    return new GenericTimer(*this);
-}
-
-GenericTimerFrame *
-GenericTimerFrameParams::create() const
-{
-    return new GenericTimerFrame(*this);
-}
-
-GenericTimerMem *
-GenericTimerMemParams::create() const
-{
-    return new GenericTimerMem(*this);
-}
index a1522aabd0c905bb4c859614371b560c0b336ef2..0dfc8ce2d0931ab6a30ed67ad16699bdc40de735 100644 (file)
@@ -1090,9 +1090,3 @@ GicV2::BankedRegs::unserialize(CheckpointIn &cp)
     UNSERIALIZE_ARRAY(intConfig, 2);
     UNSERIALIZE_ARRAY(intPriority, SGI_MAX + PPI_MAX);
 }
-
-GicV2 *
-GicV2Params::create() const
-{
-    return new GicV2(*this);
-}
index 6bb5e67d8917648ae02c32dfd1c84b8a3548d95d..0864dbe10b2fa3af318af5dbb4ebf5db5abafc06 100644 (file)
 #include "mem/packet.hh"
 #include "mem/packet_access.hh"
 
-Gicv2m *
-Gicv2mParams::create() const
-{
-    return new Gicv2m(*this);
-}
-
-Gicv2mFrame *
-Gicv2mFrameParams::create() const
-{
-    return new Gicv2mFrame(*this);
-}
-
 Gicv2m::Gicv2m(const Params &p)
     : PioDevice(p), pioDelay(p.pio_delay), frames(p.frames), gic(p.gic)
 {
index 36da51334746767d8fa6b3ddefd5974df560b380..ef27d806f500a9b133c7581c14186ed9cd7d67d6 100644 (file)
@@ -294,9 +294,3 @@ Gicv3::unserialize(CheckpointIn & cp)
         cpuInterfaces[cpu_interface_id]->unserializeSection(cp,
             csprintf("cpuInterface.%i", cpu_interface_id));
 }
-
-Gicv3 *
-Gicv3Params::create() const
-{
-    return new Gicv3(*this);
-}
index ed349ac00295d59d0a664029edac1d260ef9eb84..caf058dd39f91fbb535555b00364bc028accaa05 100644 (file)
@@ -1286,9 +1286,3 @@ Gicv3Its::moveAllPendingState(
 
     rd2->updateDistributor();
 }
-
-Gicv3Its *
-Gicv3ItsParams::create() const
-{
-    return new Gicv3Its(*this);
-}
index 1d95c5f5a934ec5c153ac398400f1a73851d16a8..989852a9399efce755be8ac1fd4fa3e737655728 100644 (file)
@@ -374,17 +374,3 @@ CustomNoMaliGpu::onReset()
     for (const auto &reg : idRegs)
         writeRegRaw(reg.first, reg.second);
 }
-
-
-
-NoMaliGpu *
-NoMaliGpuParams::create() const
-{
-    return new NoMaliGpu(*this);
-}
-
-CustomNoMaliGpu *
-CustomNoMaliGpuParams::create() const
-{
-    return new CustomNoMaliGpu(*this);
-}
index 6c218662ac5e672625fbeec451ce05dccdc688d4..472e9aa1258cafe793c4b27659d3b1c8cca1e595 100644 (file)
@@ -689,10 +689,3 @@ HDLcd::PixelPump::dumpSettings()
     inform("PixelPump vertical fron porch: %u", t.vFrontPorch);
     inform("PixelPump vertical fron porch: %u", t.vSync);
 }
-
-
-HDLcd *
-HDLcdParams::create() const
-{
-    return new HDLcd(*this);
-}
index 499a39ea51cbbd25f3d047cf9940380d5d5c9491..18fb1f179575bfd39801a66423680d111c5a8ef2 100644 (file)
@@ -219,9 +219,3 @@ Pl050::unserialize(CheckpointIn &cp)
     UNSERIALIZE_SCALAR(clkdiv);
     paramIn(cp, "raw_ints", rawInterrupts);
 }
-
-Pl050 *
-Pl050Params::create() const
-{
-    return new Pl050(*this);
-}
index 1bb895957c60b1035d0192d5d2dc14f22305b885..ff7a21c059c45811c1e847a1016d76e3ad7b33d6 100644 (file)
@@ -68,10 +68,3 @@ GenericArmPciHost::mapPciInterrupt(const PciBusAddr &addr, PciIntPin pin) const
         fatal("Unsupported PCI interrupt routing policy.");
     }
 }
-
-
-GenericArmPciHost *
-GenericArmPciHostParams::create() const
-{
-    return new GenericArmPciHost(*this);
-}
index f39d11116e4127f28a77e2370eca165c39db6ae1..ea7641615458cbd81772845782bbd002f86e1e26 100755 (executable)
@@ -325,9 +325,3 @@ Pl011::unserialize(CheckpointIn &cp)
     paramIn(cp, "imsc_serial", imsc);
     paramIn(cp, "rawInt_serial", rawInt);
 }
-
-Pl011 *
-Pl011Params::create() const
-{
-    return new Pl011(*this);
-}
index 16e2990a27102a6a00b849af5bb4426c088aca9b..3847f3ab8fffe19e7776e38fe9b117a985c9c6a2 100644 (file)
@@ -742,11 +742,3 @@ Pl111::getAddrRanges() const
     ranges.push_back(RangeSize(pioAddr, pioSize));
     return ranges;
 }
-
-Pl111 *
-Pl111Params::create() const
-{
-    return new Pl111(*this);
-}
-
-
index 343f41623779c39cfdfb422ef2bfc5891c785f6f..b46aacb94d8ff75e85ad8e1941a5da9006fd8f9e 100644 (file)
@@ -82,9 +82,3 @@ RealView::clearPciInt(int line)
 {
     gic->clearInt(line);
 }
-
-RealView *
-RealViewParams::create() const
-{
-    return new RealView(*this);
-}
index 963c126bd0cd8d1708417ab69ce11103877e70c1..a6cdc7df65f88881b1d7731e32461959bd0a4692 100644 (file)
@@ -237,11 +237,3 @@ PL031::unserialize(CheckpointIn &cp)
         schedule(matchEvent, event_time);
     }
 }
-
-
-
-PL031 *
-PL031Params::create() const
-{
-    return new PL031(*this);
-}
index 63d2e831e923ccc7a2f99f6788ffb0ef6db8ee72..2d80bc218ea70f10c53392252d431afdacf5d295 100644 (file)
@@ -313,21 +313,3 @@ RealViewTemperatureSensor::read() const
     // Report a dummy 25 degrees temperature
     return 25000000;
 }
-
-RealViewCtrl *
-RealViewCtrlParams::create() const
-{
-    return new RealViewCtrl(*this);
-}
-
-RealViewOsc *
-RealViewOscParams::create() const
-{
-    return new RealViewOsc(*this);
-}
-
-RealViewTemperatureSensor *
-RealViewTemperatureSensorParams::create() const
-{
-    return new RealViewTemperatureSensor(*this);
-}
index 18870a260ac6df262b9ad96c46440ebf9d660103..426891a9e2a8830b06837baafeb1033b75a4a259 100644 (file)
@@ -826,9 +826,3 @@ SMMUv3::getPort(const std::string &name, PortID id)
         return ClockedObject::getPort(name, id);
     }
 }
-
-SMMUv3*
-SMMUv3Params::create() const
-{
-    return new SMMUv3(*this);
-}
index 985ca178955e447a7ea3771f67c54fd58ffe3ff0..f7d4c3e60e388f2343fd8962d0d92a7c328ab9ba 100644 (file)
@@ -259,9 +259,3 @@ SMMUv3DeviceInterface::drain()
     }
     return DrainState::Drained;
 }
-
-SMMUv3DeviceInterface*
-SMMUv3DeviceInterfaceParams::create() const
-{
-    return new SMMUv3DeviceInterface(*this);
-}
index ddae9dfcb1ff93f072fcc8adf1fb645893f5a13c..e2c7a36e20f857f0326c824086f3bbfb69d9a584 100644 (file)
@@ -308,9 +308,3 @@ A9GlobalTimer::unserialize(CheckpointIn &cp)
 {
     global_timer.unserialize(cp);
 }
-
-A9GlobalTimer *
-A9GlobalTimerParams::create() const
-{
-    return new A9GlobalTimer(*this);
-}
index 0ae7777a2325f170d79f2a587498284fd135cc51..9b4f7f3da003c7c3662aadd3ee3de0f1b2a5967c 100644 (file)
@@ -439,9 +439,3 @@ CpuLocalTimer::unserialize(CheckpointIn &cp)
     for (int i = 0; i < sys->threads.size(); i++)
         localTimer[i]->unserializeSection(cp, csprintf("timer%d", i));
 }
-
-CpuLocalTimer *
-CpuLocalTimerParams::create() const
-{
-    return new CpuLocalTimer(*this);
-}
index 52bc992583f3c73487f40e84b067678abbeccc88..95fb30fe55b675b1a0c0ff45945ffe1fb183967f 100644 (file)
@@ -280,9 +280,3 @@ Sp804::unserialize(CheckpointIn &cp)
     timer0.unserializeSection(cp, "timer0");
     timer1.unserializeSection(cp, "timer1");
 }
-
-Sp804 *
-Sp804Params::create() const
-{
-    return new Sp804(*this);
-}
index b9943c34a6e2924fc05f590d1830ee423a73f9cc..f4114c11a91728225ac149912008f7c054a6fb9c 100644 (file)
@@ -752,17 +752,6 @@ UFSHostDevice::UFSHostDevice(const UFSHostDeviceParams &p) :
     setValues();
 }
 
-/**
- * Create the parameters of this device
- */
-
-UFSHostDevice*
-UFSHostDeviceParams::create() const
-{
-    return new UFSHostDevice(*this);
-}
-
-
 void
 UFSHostDevice::regStats()
 {
index daf29d92f8b48b6bff751d19efb485296b22d297..bcc259850f7dd65055c43b82c27a09d16d41dcf1 100644 (file)
@@ -552,9 +552,3 @@ VGic::vcpuIntData::unserialize(CheckpointIn &cp)
         paramIn(cp, "lr", LR[i]);
     }
 }
-
-VGic *
-VGicParams::create() const
-{
-    return new VGic(*this);
-}
index b402f1c191a61b7d65708e83e49ce7a5615d2a5e..b5eaae3d33685d2613d7a3dafd2aae50baef8e7b 100644 (file)
@@ -273,10 +273,3 @@ MmioVirtIO::setInterrupts(uint32_t value)
         interrupt->clear();
     }
 }
-
-
-MmioVirtIO *
-MmioVirtIOParams::create() const
-{
-    return new MmioVirtIO(*this);
-}
index 3ae4e64fd0f0e1f14e12c41f4efa47af38ebe411..69a6d3ccbd62bbf39566962079a2a581cca44ff5 100644 (file)
@@ -259,9 +259,3 @@ Sp805::unserialize(CheckpointIn &cp)
         reschedule(timeoutEvent, when, true);
     }
 }
-
-Sp805 *
-Sp805Params::create() const
-{
-    return new Sp805(*this);
-}
index 104699f2007282e789cee4e025fb0ffb17e098b4..3a64212c0e4d032ec43b4f9b1b0fa90def75820a 100644 (file)
@@ -56,9 +56,3 @@ BadDevice::write(PacketPtr pkt)
 {
     panic("Device %s not imlpmented\n", devname);
 }
-
-BadDevice *
-BadDeviceParams::create() const
-{
-    return new BadDevice(*this);
-}
index fef70df73a88008fbe8d1453b6adcfd0b237950a..91d24e5f1c5d6fdddc9b2285ebd258314de6fcbf 100644 (file)
@@ -657,12 +657,6 @@ AQLRingBuffer::allocEntry(uint32_t nBufReq)
     return nBufReq;
 }
 
-HSAPacketProcessor *
-HSAPacketProcessorParams::create() const
-{
-    return new HSAPacketProcessor(*this);
-}
-
 void
 HSAPacketProcessor::finishPkt(void *pvPkt, uint32_t rl_idx)
 {
index 4c6fe00dc83a9480fe86f7710ccc524a926dc3cb..345d71ceb792384e9239814c4e559e23c7863167 100644 (file)
@@ -234,9 +234,3 @@ I2CBus::unserialize(CheckpointIn &cp)
     UNSERIALIZE_SCALAR(i2cAddr);
     UNSERIALIZE_SCALAR(message);
 }
-
-I2CBus*
-I2CBusParams::create() const
-{
-    return new I2CBus(*this);
-}
index bcce9198157039e70b1b3dd4a82af8972cee4503..b441120e13ebeb05401292eb362247c3dc0e3af5 100644 (file)
@@ -142,9 +142,3 @@ IsaFake::write(PacketPtr pkt)
     }
     return pioDelay;
 }
-
-IsaFake *
-IsaFakeParams::create() const
-{
-    return new IsaFake(*this);
-}
index eddc83867364bcbb878bbead4c9ce61cd6afe005..5438233951bbffc197b09b9d8d2b8ede79215a2c 100644 (file)
@@ -95,9 +95,3 @@ Malta::unserialize(CheckpointIn &cp)
 {
     UNSERIALIZE_ARRAY(intr_sum_type, Malta::Max_CPUs);
 }
-
-Malta *
-MaltaParams::create() const
-{
-    return new Malta(*this);
-}
index 81ec67ecae7c0ffbfc0c127a3a50d6ea7a332500..2948077f688091569ef631a01deb0d3cec357eac 100644 (file)
@@ -139,10 +139,3 @@ void
 MaltaCChip::unserialize(CheckpointIn &cp)
 {
 }
-
-MaltaCChip *
-MaltaCChipParams::create() const
-{
-    return new MaltaCChip(*this);
-}
-
index 0f979cc650762ef3673e1199c97c61ca7d220b4a..c14a980171800cbd513f0e5aad8ea8fd503a508f 100644 (file)
@@ -143,9 +143,3 @@ MaltaIO::startup()
     rtc.startup();
     pitimer.startup();
 }
-
-MaltaIO *
-MaltaIOParams::create() const
-{
-    return new MaltaIO(*this);
-}
index b55763308f97e4ecc08bacd519afb4b45617cf2f..f275630843c5e785735fc33bc9581f2c5b14c511 100644 (file)
@@ -253,10 +253,4 @@ DistEtherLink::LocalIface::LocalIface(const std::string &name,
     rx->setDistInt(m);
 }
 
-DistEtherLink *
-DistEtherLinkParams::create() const
-{
-    return new DistEtherLink(*this);
-}
-
 
index c92074cbfe1a0fd1dbf1c5e48ac823e6435a6724..28c9f8d96bf019ce895803b4e4d67ec5c9883775 100644 (file)
@@ -105,9 +105,3 @@ EtherBus::send(EtherInt *sndr, EthPacketPtr &pkt)
 
     return true;
 }
-
-EtherBus *
-EtherBusParams::create() const
-{
-    return new EtherBus(*this);
-}
index 6e0ae6316e277dea5e92f6463ad70401d4b71c92..ce91132ddd17f9f5ff486a9162ca49685296613d 100644 (file)
@@ -100,9 +100,3 @@ EtherDump::dumpPacket(EthPacketPtr &packet)
     stream->write(reinterpret_cast<char *>(packet->data), pkthdr.caplen);
     stream->flush();
 }
-
-EtherDump *
-EtherDumpParams::create() const
-{
-    return new EtherDump(*this);
-}
index 9bbe000fd7627729a4fe0596fb366e9307cdf947..9bf805f980af52c0448d75c6f2961762b11d34bb 100644 (file)
@@ -264,9 +264,3 @@ EtherLink::Link::unserialize(const string &base, CheckpointIn &cp)
              "in-flight packets may have been dropped.\n");
     }
 }
-
-EtherLink *
-EtherLinkParams::create() const
-{
-    return new EtherLink(*this);
-}
index 19c3bdba89b8b69bc38defbfd4651d94204a21aa..22c684cd4eff4d17b75413ebbea178126335ec9a 100644 (file)
@@ -345,9 +345,3 @@ EtherSwitch::Interface::PortFifo::unserialize(CheckpointIn &cp)
 
     }
 }
-
-EtherSwitch *
-EtherSwitchParams::create() const
-{
-    return new EtherSwitch(*this);
-}
index 79a4f94911a7cf4e87db8ec6c31501d9e50f1cda..ec67f471c350e80a661c5d886cf1114da73fb9b0 100644 (file)
@@ -469,16 +469,4 @@ EtherTap::sendReal(const void *data, size_t len)
     return true;
 }
 
-EtherTap *
-EtherTapParams::create() const
-{
-    return new EtherTap(*this);
-}
-
 #endif
-
-EtherTapStub *
-EtherTapStubParams::create() const
-{
-    return new EtherTapStub(*this);
-}
index 72af0c9b7b4ecc2ce7f1aad877adec8f6765a470..799f9c9fdfcb15760bb21ef8de807bacb9f5a0eb 100644 (file)
@@ -2463,9 +2463,3 @@ IGbE::unserialize(CheckpointIn &cp)
     txDescCache.unserializeSection(cp, "TxDescCache");
     rxDescCache.unserializeSection(cp, "RxDescCache");
 }
-
-IGbE *
-IGbEParams::create() const
-{
-    return new IGbE(*this);
-}
index af9d02e07e2c8b96f839aee2406dea2f3892fc85..1cd4f69ca1773d0beebb1ca1625b679f77bcd087 100644 (file)
@@ -2365,9 +2365,3 @@ NSGigE::unserialize(CheckpointIn &cp)
         schedule(intrEvent, intrEventTick);
     }
 }
-
-NSGigE *
-NSGigEParams::create() const
-{
-    return new NSGigE(*this);
-}
index c227ab12052863ae95bcd404906a3dee67ebb233..d9c16ffcb67b690c47efa8a14d33cd32a5fee876 100644 (file)
@@ -1501,9 +1501,3 @@ Device::unserialize(CheckpointIn &cp)
 }
 
 } // namespace Sinic
-
-Sinic::Device *
-SinicParams::create() const
-{
-    return new Sinic::Device(*this);
-}
index 7576bff2ef885a5dbabb88d3245dae86a43e8672..5673e63ad021318fde3c6b0d8df3e802fef8b43b 100644 (file)
@@ -730,9 +730,3 @@ CopyEngine::CopyEngineChannel::drainResume()
     DPRINTF(DMACopyEngine, "Restarting state machine at state %d\n", nextState);
     restartStateMachine();
 }
-
-CopyEngine *
-CopyEngineParams::create() const
-{
-    return new CopyEngine(*this);
-}
index 1942bc1833292657af2cf371d39ea1b84219d19b..9c5117bf220236e1c41f19848cc81aa9e5c8a9a8 100644 (file)
@@ -550,33 +550,3 @@ PciDevice::unserialize(CheckpointIn &cp)
     pxcap.pxdc2 = tmp32;
     pioPort.sendRangeChange();
 }
-
-PciBarNone *
-PciBarNoneParams::create() const
-{
-    return new PciBarNone(*this);
-}
-
-PciIoBar *
-PciIoBarParams::create() const
-{
-    return new PciIoBar(*this);
-}
-
-PciLegacyIoBar *
-PciLegacyIoBarParams::create() const
-{
-    return new PciLegacyIoBar(*this);
-}
-
-PciMemBar *
-PciMemBarParams::create() const
-{
-    return new PciMemBar(*this);
-}
-
-PciMemUpperBar *
-PciMemUpperBarParams::create() const
-{
-    return new PciMemUpperBar(*this);
-}
index 84b1403584988d94029133cf3c5d2664ad7eea65..67acf7094f88a8a3b1e337890a05d3dd2c11e4fe 100644 (file)
@@ -217,9 +217,3 @@ GenericPciHost::mapPciInterrupt(const PciBusAddr &addr, PciIntPin pin) const
     return dev->interruptLine();
 }
 
-
-GenericPciHost *
-GenericPciHostParams::create() const
-{
-    return new GenericPciHost(*this);
-}
index 2075c4bbe415b4be81becfc531e7d0836c9dfb2f..d62ec443e714ef069f7adfcfd368dc6cad3de81f 100644 (file)
@@ -171,10 +171,3 @@ PS2Keyboard::keyPress(uint32_t key, bool down)
     for (uint8_t c : keys)
         send(c);
 }
-
-
-PS2Keyboard *
-PS2KeyboardParams::create() const
-{
-    return new PS2Keyboard(*this);
-}
index 756b517364ddf1e608f07d123f20188a6445361d..bc3d3f15ca4903d44282445adab03b99202a758d 100644 (file)
@@ -166,9 +166,3 @@ PS2Mouse::unserialize(CheckpointIn &cp)
     UNSERIALIZE_SCALAR(resolution);
     UNSERIALIZE_SCALAR(sampleRate);
 }
-
-PS2Mouse *
-PS2MouseParams::create() const
-{
-    return new PS2Mouse(*this);
-}
index 7ffd273d8b6563956a87aa98a0019af9f5142f28..d772b2cb6807a47ab616bdd496c58458e78c481b 100644 (file)
@@ -204,9 +204,3 @@ PS2TouchKit::mouseAt(uint16_t x, uint16_t y, uint8_t buttons)
 
     send(resp, sizeof(resp));
 }
-
-PS2TouchKit *
-PS2TouchKitParams::create() const
-{
-    return new PS2TouchKit(*this);
-}
index 90bdbf104b973eff8f4e0e7b4d001acb1af0ebfa..6910638344a143454ea18985ac84b3eef56206ce 100644 (file)
@@ -82,11 +82,3 @@ SerialNullDevice::readData()
 {
     panic("SerialNullDevice does not have pending data.\n");
 }
-
-
-
-SerialNullDevice *
-SerialNullDeviceParams::create() const
-{
-    return new SerialNullDevice(*this);
-}
index 6a7b94db87db5625192cb3b79eb90142123c0c39..811991b092e62d53f80ff518d6b00cb76fecaa32 100644 (file)
@@ -78,9 +78,3 @@ SimpleUart::write(PacketPtr pkt)
     pkt->makeAtomicResponse();
     return pioDelay;
 }
-
-SimpleUart *
-SimpleUartParams::create() const
-{
-    return new SimpleUart(*this);
-}
index 9d5254ebacddf0601e086932417eb4cbd074f525..af4ffddf624920747f7352981c0c8b389afa5c8f 100644 (file)
@@ -359,9 +359,3 @@ Terminal::writeData(uint8_t c)
             isprint(c) ? c : ' ', (int)c);
 
 }
-
-Terminal *
-TerminalParams::create() const
-{
-    return new Terminal(*this);
-}
index 4b7e9fe634ad391ded1f8ac31c91991048d07bf6..10dc08e95e573d646c491efbebea7143f24e5c25 100644 (file)
@@ -319,9 +319,3 @@ Uart8250::unserialize(CheckpointIn &cp)
     if (txintrwhen != 0)
         schedule(txIntrEvent, txintrwhen);
 }
-
-Uart8250 *
-Uart8250Params::create() const
-{
-    return new Uart8250(*this);
-}
index a1d0967015feb945e7489e42f8bb8858ddbf7a34..e2bdbb109b27bf11d1d3a9b4efc20c41c2fb00ad 100644 (file)
@@ -86,9 +86,3 @@ DumbTOD::unserialize(CheckpointIn &cp)
 {
     UNSERIALIZE_SCALAR(todTime);
 }
-
-DumbTOD *
-DumbTODParams::create() const
-{
-    return new DumbTOD(*this);
-}
index d8f1087382df2d99cc80e7a50e20214c7af1c75a..a0d1982fef93980cbf1ce0870ec2175f81442898 100644 (file)
@@ -375,9 +375,3 @@ Iob::unserialize(CheckpointIn &cp)
         paramIn(cp, "source", jIntBusy[x].source);
     };
 }
-
-Iob *
-IobParams::create() const
-{
-    return new Iob(*this);
-}
index ab45628849c0c1626f2a3a4fa4fb1983972df0a4..f1da2b9840941d9ca8416556fe6069379d6b03d2 100644 (file)
@@ -182,9 +182,3 @@ MmDisk::serialize(CheckpointOut &cp) const
     }
     ClockedObject::serialize(cp);
 }
-
-MmDisk *
-MmDiskParams::create() const
-{
-    return new MmDisk(*this);
-}
index 3cb99b53f176014da1e74e70e482ef5528470ada..ee61fbfe5b38954930070737645147bab1b25c02 100644 (file)
@@ -95,9 +95,3 @@ T1000::calcPciMemAddr(Addr addr)
 {
     panic("Need implementation\n");
 }
-
-T1000 *
-T1000Params::create() const
-{
-    return new T1000(*this);
-}
index 3ff29ae5cafa545ba01c7add5d2c4c9b52fef348..58d2ac032f44ea9a06d21669bd57f3bfc8281157 100644 (file)
@@ -159,12 +159,6 @@ RawDiskImage::write(const uint8_t *data, std::streampos offset)
     return stream.tellp() - pos;
 }
 
-RawDiskImage *
-RawDiskImageParams::create() const
-{
-    return new RawDiskImage(*this);
-}
-
 ////////////////////////////////////////////////////////////////////////
 //
 // Copy on Write Disk image
@@ -441,9 +435,3 @@ CowDiskImage::unserialize(CheckpointIn &cp)
     cowFilename = cp.getCptDir() + "/" + cowFilename;
     open(cowFilename);
 }
-
-CowDiskImage *
-CowDiskImageParams::create() const
-{
-    return new CowDiskImage(*this);
-}
index d9e628cf6b494c226625d1cab860f9093178231e..695e4d832b4c61da61ee2c3b2f9343b0ea23a8e7 100644 (file)
@@ -566,9 +566,3 @@ IdeController::Channel::unserialize(const std::string &base, CheckpointIn &cp)
     paramIn(cp, base + ".selectBit", selectBit);
     select(selectBit);
 }
-
-IdeController *
-IdeControllerParams::create() const
-{
-    return new IdeController(*this);
-}
index 25516ec4469bde61266a84728acb2faf7210aa66..3f297754fc85f0bc5df3f9ce846e439e8b5e3728 100644 (file)
@@ -1197,9 +1197,3 @@ IdeDisk::unserialize(CheckpointIn &cp)
     UNSERIALIZE_ENUM(dmaState);
     UNSERIALIZE_ARRAY(dataBuffer, MAX_DMA_SIZE);
 }
-
-IdeDisk *
-IdeDiskParams::create() const
-{
-    return new IdeDisk(*this);
-}
index 1e16685dfc5a20695c25fc55038f615fdf8aa8b3..91f213b9f1f18fc74b16b1eeafa5d10161e9f69b 100644 (file)
@@ -82,9 +82,3 @@ SimpleDisk::write(Addr addr, baddr_t block, int count)
 {
     panic("unimplemented!\n");
 }
-
-SimpleDisk *
-SimpleDiskParams::create() const
-{
-    return new SimpleDisk(*this);
-}
index 0443fb498d6f38cb063f2e3f02841928bacd317c..f5332e900bdf27e8ab75daec46a6e0a1d3ece7ba 100644 (file)
@@ -484,9 +484,3 @@ VirtIODummyDevice::VirtIODummyDevice(const VirtIODummyDeviceParams &params)
     : VirtIODeviceBase(params, ID_INVALID, 0, 0)
 {
 }
-
-VirtIODummyDevice *
-VirtIODummyDeviceParams::create() const
-{
-    return new VirtIODummyDevice(*this);
-}
index e7d7c4164c0b125445187a7c0a02118734eee96c..2a08a8b1a42a3f2989b8568b8738ae3bb28b77e9 100644 (file)
@@ -164,9 +164,3 @@ VirtIOBlock::RequestQueue::onNotifyDescriptor(VirtDescriptor *desc)
     produceDescriptor(desc, sizeof(BlkRequest) + data_size + sizeof(Status));
     parent.kick();
 }
-
-VirtIOBlock *
-VirtIOBlockParams::create() const
-{
-    return new VirtIOBlock(*this);
-}
index eb4981fdbb68e7f24bece6fd950fe47fbc778826..8f5d3f7a88216f493aee5858f68d1d252792a58f 100644 (file)
@@ -112,9 +112,3 @@ VirtIOConsole::TermTransQueue::onNotifyDescriptor(VirtDescriptor *desc)
     produceDescriptor(desc, 0);
     parent.kick();
 }
-
-VirtIOConsole *
-VirtIOConsoleParams::create() const
-{
-    return new VirtIOConsole(*this);
-}
index 18395f79de9a7aef9b30f9c81748586c826bb34e..5263eed975283c446652b2e040cafd052b03877f 100644 (file)
@@ -472,17 +472,9 @@ VirtIO9PDiod::terminateDiod()
         // Managed to kill diod
         return;
     }
-
-}
-VirtIO9PDiod *
-VirtIO9PDiodParams::create() const
-{
-    return new VirtIO9PDiod(*this);
 }
 
 
-
-
 VirtIO9PSocket::VirtIO9PSocket(const Params &params)
     : VirtIO9PProxy(params), fdSocket(-1)
 {
@@ -569,10 +561,3 @@ VirtIO9PSocket::SocketDataEvent::process(int revent)
 {
     parent.serverDataReady();
 }
-
-
-VirtIO9PSocket *
-VirtIO9PSocketParams::create() const
-{
-    return new VirtIO9PSocket(*this);
-}
index 9fcc09a6b06431b60253fdf37d65d2d0c4d6a136..003cbf563c5fe53d32d0f008ca1e17d9b3a8c8df 100644 (file)
@@ -222,9 +222,3 @@ PciVirtIO::kick()
     interruptDeliveryPending = true;
     intrPost();
 }
-
-PciVirtIO *
-PciVirtIOParams::create() const
-{
-    return new PciVirtIO(*this);
-}
index eab4ad2b7422567f1d32647ed015a0dfa2233b43..3c38c25a75747978759d5bca128ea7fff90216ee 100644 (file)
@@ -138,9 +138,3 @@ X86ISA::Cmos::unserialize(CheckpointIn &cp)
     // Serialize the timer
     rtc.unserialize("rtc", cp);
 }
-
-X86ISA::Cmos *
-CmosParams::create() const
-{
-    return new X86ISA::Cmos(*this);
-}
index 3756cf9444b1c8492b56907df86b0de8f78009c8..c6c1dd4dd53525580fc45887337c0d146f4bd1f5 100644 (file)
@@ -305,9 +305,3 @@ X86ISA::I8042::unserialize(CheckpointIn &cp)
     UNSERIALIZE_SCALAR(dataReg);
     UNSERIALIZE_SCALAR(lastCommand);
 }
-
-X86ISA::I8042 *
-I8042Params::create() const
-{
-    return new X86ISA::I8042(*this);
-}
index 12ac70ca8a2ac63d2d08a8a53d8a50cea01453d2..dabfe8c9fa2e728e3461f88d7ab54022a1f148bf 100644 (file)
@@ -291,9 +291,3 @@ X86ISA::I82094AA::unserialize(CheckpointIn &cp)
         redirTable[i] = (RedirTableEntry)redirTableArray[i];
     }
 }
-
-X86ISA::I82094AA *
-I82094AAParams::create() const
-{
-    return new X86ISA::I82094AA(*this);
-}
index 2423c5175381fa9a38a6be36966a22ae5cd46c91..05d08c862fc1e1f7c0f4969ea1538e3f7bb97093 100644 (file)
@@ -135,9 +135,3 @@ X86ISA::I8237::unserialize(CheckpointIn &cp)
 {
     UNSERIALIZE_SCALAR(maskReg);
 }
-
-X86ISA::I8237 *
-I8237Params::create() const
-{
-    return new X86ISA::I8237(*this);
-}
index b23f09af041a5ac38c1eeefa61e8d5282754b669..74428f13a91eab6295afe18b417596bd88b07a3d 100644 (file)
@@ -95,9 +95,3 @@ X86ISA::I8254::startup()
 {
     pit.startup();
 }
-
-X86ISA::I8254 *
-I8254Params::create() const
-{
-    return new X86ISA::I8254(*this);
-}
index 780c8ddd03c9ec6e23201e3aceb26fb2de789a0b..c2817b9bab310f11435f03dc3e5aed5eaf88791b 100644 (file)
@@ -364,9 +364,3 @@ X86ISA::I8259::unserialize(CheckpointIn &cp)
     UNSERIALIZE_SCALAR(initControlWord);
     UNSERIALIZE_SCALAR(autoEOI);
 }
-
-X86ISA::I8259 *
-I8259Params::create() const
-{
-    return new X86ISA::I8259(*this);
-}
index 4001c202113d32f662b94ee63a4e0f5361739289..ac7f03459fd76bc9d92c22f81cfde9c7c3f46fcf 100644 (file)
@@ -134,9 +134,3 @@ Pc::clearPciInt(int line)
 {
     warn_once("Tried to clear PCI interrupt %d\n", line);
 }
-
-Pc *
-PcParams::create() const
-{
-    return new Pc(*this);
-}
index 4f713bd9d8259d11749915956219c6a4533d2156..8bf610723046be318d878ac058b967feb7616dc8 100644 (file)
@@ -43,9 +43,3 @@ SouthBridge::SouthBridge(const Params &p) : SimObject(p),
     assert(pc);
     pc->southBridge = this;
 }
-
-SouthBridge *
-SouthBridgeParams::create() const
-{
-    return new SouthBridge(*this);
-}
index 90f30be2552367feff6f74251005fec4bf51f5b4..e6c85ce0f700e60521452c102900932a1c5a3c73 100644 (file)
@@ -83,9 +83,3 @@ X86ISA::Speaker::unserialize(CheckpointIn &cp)
 {
     UNSERIALIZE_SCALAR(controlVal);
 }
-
-X86ISA::Speaker *
-PcSpeakerParams::create() const
-{
-    return new X86ISA::Speaker(*this);
-}
index b98e5a98f1e59dcdc2d786dab95b651f9c0ff1f9..2787e427a127c0bf5541893f9ce17cee073bd451 100644 (file)
@@ -1355,12 +1355,6 @@ ComputeUnit::DataPort::processMemRespEvent(PacketPtr pkt)
     delete pkt;
 }
 
-ComputeUnit*
-ComputeUnitParams::create() const
-{
-    return new ComputeUnit(*this);
-}
-
 bool
 ComputeUnit::DTLBPort::recvTimingResp(PacketPtr pkt)
 {
index 7c173e85596867a6ea30d505cfb2b04ce4a8b378..17c74f0ecf2fcd32c4f438e1e3570fd9444d0230 100644 (file)
@@ -360,9 +360,3 @@ GPUDispatcher::scheduleDispatch()
         schedule(&tickEvent, curTick() + shader->clockPeriod());
     }
 }
-
-GPUDispatcher *
-GPUDispatcherParams::create() const
-{
-    return new GPUDispatcher(*this);
-}
index c2d07f795e7605e6c0dc6fe2244ed7959cee9931..0b7f2fa66646e66ffdbadca201ec073104301f99 100644 (file)
@@ -221,9 +221,3 @@ GPUCommandProcessor::shader()
 {
     return _shader;
 }
-
-GPUCommandProcessor*
-GPUCommandProcessorParams::create() const
-{
-    return new GPUCommandProcessor(*this);
-}
index 325a844dc4695c568d8744345461cc11ef889741..a840bb28a471e955c5ec0afbd79f818bac5fbed6 100644 (file)
@@ -410,9 +410,3 @@ GPUComputeDriver::ldsApeLimit(Addr apeBase) const
 {
     return (apeBase & 0xFFFFFFFF00000000UL) | 0xFFFFFFFF;
 }
-
-GPUComputeDriver*
-GPUComputeDriverParams::create() const
-{
-    return new GPUComputeDriver(*this);
-}
index 7a939e617865640e403c544083aeeb080843c11f..700a894caa86a4f410a29fc34dea9802f6ccb28c 100644 (file)
@@ -1514,10 +1514,3 @@ namespace X86ISA
         TLBFootprint.clear();
     }
 } // namespace X86ISA
-
-X86ISA::GpuTLB*
-X86GPUTLBParams::create() const
-{
-    return new X86ISA::GpuTLB(*this);
-}
-
index f07b9c297fef6e260567e06e7b6f8306a1f0c800..1f653cb74ff0d431bd33c367eafbaa93ddac9c1a 100644 (file)
@@ -63,15 +63,6 @@ LdsState::LdsState(const Params &params) :
           "the LDS should be an even number");
 }
 
-/**
- * Needed by the SWIG compiler
- */
-LdsState *
-LdsStateParams::create() const
-{
-    return new LdsState(*this);
-}
-
 /**
  * set the parent and name based on the parent
  */
index 51d5693c1e3350f1ba1842379491e1a2e049f572..42a74e8eb32ced36428b76ccf48ce07334b6e629 100644 (file)
@@ -171,12 +171,6 @@ RegisterFile::waveExecuteInst(Wavefront *w, GPUDynInstPtr ii)
 {
 }
 
-RegisterFile*
-RegisterFileParams::create() const
-{
-    return new RegisterFile(*this);
-}
-
 // Events
 
 // Mark a register as free in the scoreboard/busy vector
index fefb329609a3dd025381804e91bf85a1c7836cec..f8487554b09b6aa5e7ae80b162b8ac31dbf97cd3 100644 (file)
@@ -135,9 +135,3 @@ RegisterManager::regStats()
 {
     policy->regStats();
 }
-
-RegisterManager*
-RegisterManagerParams::create() const
-{
-    return new RegisterManager(*this);
-}
index fbb81fe6948d24183008cc67a2722f636d45ab87..d8083ea31a41bc6cf317c586c8d2f39155a4ce6b 100644 (file)
@@ -156,9 +156,3 @@ ScalarRegisterFile::scheduleWriteOperandsFromLoad(Wavefront *w,
         }
     }
 }
-
-ScalarRegisterFile*
-ScalarRegisterFileParams::create() const
-{
-    return new ScalarRegisterFile(*this);
-}
index 9db0347a86e8a9e986169c52cc29873ecdde33cf..365edd44bf2a20609bd8e40f100702cfcece88fb 100644 (file)
@@ -154,12 +154,6 @@ Shader::updateContext(int cid) {
     assert(gpuTc);
 }
 
-Shader*
-ShaderParams::create() const
-{
-    return new Shader(*this);
-}
-
 void
 Shader::execScheduledAdds()
 {
index 78f4907bd7556cfe5719e791678f34eb9d9dc426..cccda901ff34fa2ae7841bb1b01e1d48b9406b8c 100644 (file)
 
 #include "base/logging.hh"
 
-SimplePoolManager *
-SimplePoolManagerParams::create() const
-{
-    return new SimplePoolManager(*this);
-}
-
 // return the min number of elements that the manager can reserve given
 // a request for "size" elements
 uint32_t
index a22b2c88616534977dfa84b2af96441ac313de45..39db4ee13399ac6cd930a4e53e272d2cad09ef08 100644 (file)
@@ -552,11 +552,3 @@ TLBCoalescer::regStats()
 
     localLatency = localqueuingCycles / uncoalescedAccesses;
 }
-
-
-TLBCoalescer*
-TLBCoalescerParams::create() const
-{
-    return new TLBCoalescer(*this);
-}
-
index a4cc1275e900cea52aec20ca8cd070c26c9816f3..c44955cd844fce9e04b9cdabf0fc89546b484a29 100644 (file)
@@ -207,9 +207,3 @@ VectorRegisterFile::scheduleWriteOperandsFromLoad(
         mask = mask >> 4;
     }
 }
-
-VectorRegisterFile*
-VectorRegisterFileParams::create() const
-{
-    return new VectorRegisterFile(*this);
-}
index 08acb5ed0e24e1c0106cf40aaccfa17d5ac66685..b7ff95ab2ce7a2335a17bbd960546fe1b1471d07 100644 (file)
 #include "gpu-compute/simple_pool_manager.hh"
 #include "gpu-compute/vector_register_file.hh"
 
-Wavefront*
-WavefrontParams::create() const
-{
-    return new Wavefront(*this);
-}
-
 Wavefront::Wavefront(const Params &p)
   : SimObject(p), wfSlotId(p.wf_slot_id), simdId(p.simdId),
     maxIbSize(p.max_ib_size), _gpuISA(*this),
index 4be0cc69e6042507806955bc57d519cca164236a..6d2f90437ca70bc6c5db81415e16fddcbfdf4fec 100644 (file)
@@ -94,9 +94,3 @@ GoodbyeObject::fillBuffer()
         exitSimLoop(buffer, 0, curTick() + bandwidth * bytes_copied);
     }
 }
-
-GoodbyeObject*
-GoodbyeObjectParams::create() const
-{
-    return new GoodbyeObject(*this);
-}
index b987c3807a29bf3850d3efae68dd09f35ac5c235..e156cac00268ada7c15c4930d5f8433300bd6e26 100644 (file)
@@ -68,9 +68,3 @@ HelloObject::processEvent()
         schedule(event, curTick() + latency);
     }
 }
-
-HelloObject*
-HelloObjectParams::create() const
-{
-    return new HelloObject(*this);
-}
index 0565202043bc7ae35a65b14361c5bd99d5b492ec..661cae56f966b0d81a2901f7b78a9a7b0a51e051 100644 (file)
@@ -431,10 +431,3 @@ SimpleCache::SimpleCacheStats::SimpleCacheStats(Stats::Group *parent)
 {
     missLatency.init(16); // number of buckets
 }
-
-
-SimpleCache*
-SimpleCacheParams::create() const
-{
-    return new SimpleCache(*this);
-}
index 49032207042b7b54f525beaa9a720a43eb3ef386..a970789634e22043220d79f234a261397f0bd71e 100644 (file)
@@ -228,11 +228,3 @@ SimpleMemobj::sendRangeChange()
     instPort.sendRangeChange();
     dataPort.sendRangeChange();
 }
-
-
-
-SimpleMemobj*
-SimpleMemobjParams::create() const
-{
-    return new SimpleMemobj(*this);
-}
index 4b482da90a64bd7265170be512d809058f672746..6ae7f4656714838c68cfa92b2433976c468b0750 100644 (file)
@@ -35,9 +35,3 @@ SimpleObject::SimpleObject(const SimpleObjectParams &params) :
 {
     std::cout << "Hello World! From a SimObject!" << std::endl;
 }
-
-SimpleObject*
-SimpleObjectParams::create() const
-{
-    return new SimpleObject(*this);
-}
index 86a81e019047a32a4a2f18342a4dd23c2a77349c..8fdefdcbd74eeb50964a2d967c19fdab1dce8b2e 100644 (file)
@@ -216,12 +216,6 @@ RangeAddrMapper::RangeAddrMapper(const RangeAddrMapperParams &p) :
     }
 }
 
-RangeAddrMapper*
-RangeAddrMapperParams::create() const
-{
-    return new RangeAddrMapper(*this);
-}
-
 Addr
 RangeAddrMapper::remapAddr(Addr addr) const
 {
index 135d32c42989c06497b16139c34b27de5feca82a..d43190a9d9a1eb21143ff58da5b1874982769116 100644 (file)
@@ -390,9 +390,3 @@ Bridge::BridgeResponsePort::getAddrRanges() const
 {
     return ranges;
 }
-
-Bridge *
-BridgeParams::create() const
-{
-    return new Bridge(*this);
-}
index a86cc2e92829a3a27796b170ee15263ccb476676..b74e8cc5c3bd55b5507b4337b9cbb0dc858b6ae4 100644 (file)
@@ -2498,9 +2498,3 @@ WriteAllocator::updateMode(Addr write_addr, unsigned write_size,
     }
     nextAddr = write_addr + write_size;
 }
-
-WriteAllocator*
-WriteAllocatorParams::create() const
-{
-    return new WriteAllocator(*this);
-}
index 04156c8f8272afceab22d9d58ba3f401da97a6fa..e3e382ba430e27f7b32c3d1a849db4ab62e52e68 100644 (file)
@@ -67,6 +67,8 @@ Cache::Cache(const CacheParams &p)
     : BaseCache(p, p.system->cacheLineSize()),
       doFastWrites(true)
 {
+    assert(p.tags);
+    assert(p.replacement_policy);
 }
 
 void
@@ -1429,12 +1431,3 @@ Cache::sendMSHRQueuePacket(MSHR* mshr)
 
     return BaseCache::sendMSHRQueuePacket(mshr);
 }
-
-Cache*
-CacheParams::create() const
-{
-    assert(tags);
-    assert(replacement_policy);
-
-    return new Cache(*this);
-}
index 6901255b0f4bab7712a2819f80afdd76a9daa07e..ab5862ca385dfc0195a1c750c3691d094ba7c511 100644 (file)
@@ -72,39 +72,3 @@ Base16Delta8::Base16Delta8(const Params &p)
 }
 
 } // namespace Compressor
-
-Compressor::Base64Delta8*
-Base64Delta8Params::create() const
-{
-    return new Compressor::Base64Delta8(*this);
-}
-
-Compressor::Base64Delta16*
-Base64Delta16Params::create() const
-{
-    return new Compressor::Base64Delta16(*this);
-}
-
-Compressor::Base64Delta32*
-Base64Delta32Params::create() const
-{
-    return new Compressor::Base64Delta32(*this);
-}
-
-Compressor::Base32Delta8*
-Base32Delta8Params::create() const
-{
-    return new Compressor::Base32Delta8(*this);
-}
-
-Compressor::Base32Delta16*
-Base32Delta16Params::create() const
-{
-    return new Compressor::Base32Delta16(*this);
-}
-
-Compressor::Base16Delta8*
-Base16Delta8Params::create() const
-{
-    return new Compressor::Base16Delta8(*this);
-}
index bf241d0ed8a0ccd319d2503256055198b9b3c71e..7d57297a1048e7db3903a092e72ed919fe7f178e 100644 (file)
@@ -50,9 +50,3 @@ CPack::addToDictionary(DictionaryEntry data)
 }
 
 } // namespace Compressor
-
-Compressor::CPack*
-CPackParams::create() const
-{
-    return new Compressor::CPack(*this);
-}
index 8398a321264d17053a82668dc6e340c65bbeeb11..09084531693386a59ed377fb69801fa41810a440 100644 (file)
@@ -95,9 +95,3 @@ FPC::instantiateDictionaryCompData() const
 }
 
 } // namespace Compressor
-
-Compressor::FPC*
-FPCParams::create() const
-{
-    return new Compressor::FPC(*this);
-}
index 67a9129ccb10201f0fbc7dd950dcc77212c3bd76..f3d2d33ff7c1c8a1a016d324ba77c30ad4c5dbd1 100644 (file)
@@ -55,9 +55,3 @@ FPCD::addToDictionary(DictionaryEntry data)
 }
 
 } // namespace Compressor
-
-Compressor::FPCD*
-FPCDParams::create() const
-{
-    return new Compressor::FPCD(*this);
-}
index 16d848cc7641769fcda9f6c9182dd73b6a8d8a1d..52a4112c102770681d86a2e519e68e6ae4a749e7 100644 (file)
@@ -202,9 +202,3 @@ Multi::MultiStats::regStats()
 }
 
 } // namespace Compressor
-
-Compressor::Multi*
-MultiCompressorParams::create() const
-{
-    return new Compressor::Multi(*this);
-}
index 54fb4061ea6611226177bfa77458833aab97c9f6..56b3fc0ab7498f6b7ed86bc630ce125b5d00b7d4 100644 (file)
@@ -73,9 +73,3 @@ Perfect::decompress(const CompressionData* comp_data,
 }
 
 } // namespace Compressor
-
-Compressor::Perfect*
-PerfectCompressorParams::create() const
-{
-    return new Compressor::Perfect(*this);
-}
index 08020aae89a3088c338b3081e9a07918ac242a90..5187dbd46f7109694694ae48687b96cdabd2cf20 100644 (file)
@@ -78,9 +78,3 @@ RepeatedQwords::compress(const std::vector<Chunk>& chunks,
 }
 
 } // namespace Compressor
-
-Compressor::RepeatedQwords*
-RepeatedQwordsCompressorParams::create() const
-{
-    return new Compressor::RepeatedQwords(*this);
-}
index ad36b6f19a380fed4ae49706ebec2cf93ac694fd..152aea42103d127cff53c33c3464907f3f223136 100644 (file)
@@ -76,9 +76,3 @@ Zero::compress(const std::vector<Chunk>& chunks, Cycles& comp_lat,
 }
 
 } // namespace Compressor
-
-Compressor::Zero*
-ZeroCompressorParams::create() const
-{
-    return new Compressor::Zero(*this);
-}
index 18a885a58e978e2ba0cb274adc8f9d6123964f4b..0810369b86c9f5f45b95eacac623ebef462d4a1b 100644 (file)
@@ -59,6 +59,8 @@
 NoncoherentCache::NoncoherentCache(const NoncoherentCacheParams &p)
     : BaseCache(p, p.system->cacheLineSize())
 {
+    assert(p.tags);
+    assert(p.replacement_policy);
 }
 
 void
@@ -347,12 +349,3 @@ NoncoherentCache::evictBlock(CacheBlk *blk)
 
     return pkt;
 }
-
-NoncoherentCache*
-NoncoherentCacheParams::create() const
-{
-    assert(tags);
-    assert(replacement_policy);
-
-    return new NoncoherentCache(*this);
-}
index 6301c9d1b814d2de9e004a4d502ad32505369bbc..ad101389f9aa83d0f82662048231d524f8af86b0 100644 (file)
@@ -264,15 +264,3 @@ AMPM::calculatePrefetch(const PrefetchInfo &pfi,
 }
 
 } // namespace Prefetcher
-
-Prefetcher::AccessMapPatternMatching*
-AccessMapPatternMatchingParams::create() const
-{
-    return new Prefetcher::AccessMapPatternMatching(*this);
-}
-
-Prefetcher::AMPM*
-AMPMPrefetcherParams::create() const
-{
-    return new Prefetcher::AMPM(*this);
-}
index 1a5460be91dfef5455d6c324ae141b39e9af1503..d8bd11089784a26682e028c07666f1c68aab033f 100644 (file)
@@ -261,9 +261,3 @@ BOP::notifyFill(const PacketPtr& pkt)
 }
 
 } // namespace Prefetcher
-
-Prefetcher::BOP*
-BOPPrefetcherParams::create() const
-{
-   return new Prefetcher::BOP(*this);
-}
index 985fa5de1fa5b4a45f5e5ac4d972f6bfd2a336a7..6b7ee2ecc5aed2ca3dbcf2c7c8b2b693a35d7679 100644 (file)
@@ -158,15 +158,3 @@ DCPT::calculatePrefetch(const PrefetchInfo &pfi,
 }
 
 } // namespace Prefetcher
-
-Prefetcher::DeltaCorrelatingPredictionTables*
-DeltaCorrelatingPredictionTablesParams::create() const
-{
-   return new Prefetcher::DeltaCorrelatingPredictionTables(*this);
-}
-
-Prefetcher::DCPT*
-DCPTPrefetcherParams::create() const
-{
-    return new Prefetcher::DCPT(*this);
-}
index 1ad0707a81f85aca68560e7a8c2f864c184cd424..46443d2478fd8ea0786b3d4390f3174f9f3a2f5c 100644 (file)
@@ -255,9 +255,3 @@ IndirectMemory::checkAccessMatchOnActiveEntries(Addr addr)
 }
 
 } // namespace Prefetcher
-
-Prefetcher::IndirectMemory*
-IndirectMemoryPrefetcherParams::create() const
-{
-    return new Prefetcher::IndirectMemory(*this);
-}
index 2e7c0b336dce9271cc175f14e5c523e680a04eca..d73f464074fc79aeeb14b0d537f9d7bc73df382f 100644 (file)
@@ -209,9 +209,3 @@ IrregularStreamBuffer::addStructuralToPhysicalEntry(
 }
 
 } // namespace Prefetcher
-
-Prefetcher::IrregularStreamBuffer*
-IrregularStreamBufferPrefetcherParams::create() const
-{
-    return new Prefetcher::IrregularStreamBuffer(*this);
-}
index 9bddd4d044112c9a8d385927a4ce571b3741224d..251e0c62450f95a0ee64e459b65f62af873dcf66 100644 (file)
@@ -80,9 +80,3 @@ Multi::getPacket()
 }
 
 } // namespace Prefetcher
-
-Prefetcher::Multi*
-MultiPrefetcherParams::create() const
-{
-    return new Prefetcher::Multi(*this);
-}
index a73ba65d4e3ea610fa0cc3ebcf62b682f8a83eaf..c349dac2e774a90e0cf995c2c8dddbcacfe29913 100644 (file)
@@ -244,9 +244,3 @@ PIF::addEventProbeRetiredInsts(SimObject *obj, const char *name)
 }
 
 } // namespace Prefetcher
-
-Prefetcher::PIF*
-PIFPrefetcherParams::create() const
-{
-    return new Prefetcher::PIF(*this);
-}
index 5ab68c74ba4fe9b1afabc88ad123988aeaaaa11c..980d010bf65caa9f56e07595771452270877382f 100644 (file)
@@ -133,9 +133,3 @@ SBOOE::calculatePrefetch(const PrefetchInfo &pfi,
 }
 
 } // namespace Prefetcher
-
-Prefetcher::SBOOE*
-SBOOEPrefetcherParams::create() const
-{
-    return new Prefetcher::SBOOE(*this);
-}
index 207557fb7980bd42619015471b3ee09589cdc68e..cecd1f529743659f0ecca54bb51379ba04b9772b 100644 (file)
@@ -317,9 +317,3 @@ SignaturePath::auxiliaryPrefetcher(Addr ppn, stride_t current_block,
 }
 
 } // namespace Prefetcher
-
-Prefetcher::SignaturePath*
-SignaturePathPrefetcherParams::create() const
-{
-    return new Prefetcher::SignaturePath(*this);
-}
index a4c9e03f6f946b2586c67dae4791b398732de6ae..1abb5ca67a089e496898b14d8a89f6d6ddb02899 100644 (file)
@@ -129,9 +129,3 @@ SignaturePathV2::handlePageCrossingLookahead(signature_t signature,
 }
 
 } // namespace Prefetcher
-
-Prefetcher::SignaturePathV2*
-SignaturePathPrefetcherV2Params::create() const
-{
-    return new Prefetcher::SignaturePathV2(*this);
-}
index 2119b6a2ad72cbe43f0e5e5460063230725af173..fe534761671403f3d43b175cde35c281104f3e16 100644 (file)
@@ -48,9 +48,3 @@ SlimAMPM::calculatePrefetch(const PrefetchInfo &pfi,
 }
 
 } // namespace Prefetcher
-
-Prefetcher::SlimAMPM*
-SlimAMPMPrefetcherParams::create() const
-{
-    return new Prefetcher::SlimAMPM(*this);
-}
index 4c58ab083959a8cddea6cf1d9c2fd3bbe8283994..53374a9196dc930a1d2d8352f9f5247bf24e5c6d 100644 (file)
@@ -247,9 +247,3 @@ STeMS::reconstructSequence(
 }
 
 } // namespace Prefetcher
-
-Prefetcher::STeMS*
-STeMSPrefetcherParams::create() const
-{
-   return new Prefetcher::STeMS(*this);
-}
index b7aa64d404704cbc3cd825fc658193e144b5fff9..0020371c6f8e4e9d5c274b99855c843a5845da20 100644 (file)
@@ -202,15 +202,3 @@ StridePrefetcherHashedSetAssociative::extractTag(const Addr addr) const
 }
 
 } // namespace Prefetcher
-
-Prefetcher::StridePrefetcherHashedSetAssociative*
-StridePrefetcherHashedSetAssociativeParams::create() const
-{
-    return new Prefetcher::StridePrefetcherHashedSetAssociative(*this);
-}
-
-Prefetcher::Stride*
-StridePrefetcherParams::create() const
-{
-    return new Prefetcher::Stride(*this);
-}
index f626a8991426951602ef1bec8225b1ee537d4007..0e6e8dee8c920dfa42a6c41c4d15fe4dc6692819 100644 (file)
@@ -56,9 +56,3 @@ Tagged::calculatePrefetch(const PrefetchInfo &pfi,
 }
 
 } // namespace Prefetcher
-
-Prefetcher::Tagged*
-TaggedPrefetcherParams::create() const
-{
-   return new Prefetcher::Tagged(*this);
-}
index 06b31b6da594324f3a71cce88eaeffa29b7832d0..d45105dcb035d16ac12c88250728b412f4fd202a 100644 (file)
@@ -57,9 +57,3 @@ BIP::reset(const std::shared_ptr<ReplacementData>& replacement_data) const
 }
 
 } // namespace ReplacementPolicy
-
-ReplacementPolicy::BIP*
-BIPRPParams::create() const
-{
-    return new ReplacementPolicy::BIP(*this);
-}
index 2aeade138716abec4bdcc72c7dea870607167d57..76300e0f1272c9b2af01ab698af4aa2f0aeaf8a3 100644 (file)
@@ -145,9 +145,3 @@ BRRIP::instantiateEntry()
 }
 
 } // namespace ReplacementPolicy
-
-ReplacementPolicy::BRRIP*
-BRRIPRPParams::create() const
-{
-    return new ReplacementPolicy::BRRIP(*this);
-}
index 9d869732a1609c11d9833b664880a47cb4d408f9..496d86a96af6b921cbcc703f1f0757c85761d81a 100644 (file)
@@ -92,9 +92,3 @@ FIFO::instantiateEntry()
 }
 
 } // namespace ReplacementPolicy
-
-ReplacementPolicy::FIFO*
-FIFORPParams::create() const
-{
-    return new ReplacementPolicy::FIFO(*this);
-}
index 054ef617313c3deba8b9e595dad7f1eae0830156..a3cd96144450d01c79891fab9a56d297604c03a4 100644 (file)
@@ -90,9 +90,3 @@ LFU::instantiateEntry()
 }
 
 } // namespace ReplacementPolicy
-
-ReplacementPolicy::LFU*
-LFURPParams::create() const
-{
-    return new ReplacementPolicy::LFU(*this);
-}
index 798c9649771e4970eb1892a96b63e00599285437..fd8970394f848216185bcc3ebc6c5998fd1648d5 100644 (file)
@@ -94,9 +94,3 @@ LRU::instantiateEntry()
 }
 
 } // namespace ReplacementPolicy
-
-ReplacementPolicy::LRU*
-LRURPParams::create() const
-{
-    return new ReplacementPolicy::LRU(*this);
-}
index 1dab0653fb3b85d411adb5d052634c86c026405b..cc2016bd0ad59eaa12ecbce747080324424c4db7 100644 (file)
@@ -99,9 +99,3 @@ MRU::instantiateEntry()
 }
 
 } // namespace ReplacementPolicy
-
-ReplacementPolicy::MRU*
-MRURPParams::create() const
-{
-    return new ReplacementPolicy::MRU(*this);
-}
index 959baafbc5ff04f0495f8adece9e8ca0c6d755f6..8f81c1c1123be5167a415132b3bb0bdc66076480 100644 (file)
@@ -93,9 +93,3 @@ Random::instantiateEntry()
 }
 
 } // namespace ReplacementPolicy
-
-ReplacementPolicy::Random*
-RandomRPParams::create() const
-{
-    return new ReplacementPolicy::Random(*this);
-}
index a55994e41e7e0735789beabf6f329baff493e8dd..0f8c39205daf39e05ae1c8e9250f1ba1881de875 100644 (file)
@@ -134,9 +134,3 @@ SecondChance::instantiateEntry()
 }
 
 } // namespace ReplacementPolicy
-
-ReplacementPolicy::SecondChance*
-SecondChanceRPParams::create() const
-{
-    return new ReplacementPolicy::SecondChance(*this);
-}
index ada9eeedb589e5adf55119353218fdaf4926dd31..9f50261f884373ea28abb2960c4d1928990447ec 100644 (file)
@@ -212,9 +212,3 @@ TreePLRU::instantiateEntry()
 }
 
 } // namespace ReplacementPolicy
-
-ReplacementPolicy::TreePLRU*
-TreePLRURPParams::create() const
-{
-    return new ReplacementPolicy::TreePLRU(*this);
-}
index 5b45e32cca0c2b116ac5cc261e9a8023bddb4a83..0e2043d8ab9f514e2eea44c1a95ef83b618ccee4 100644 (file)
@@ -122,9 +122,3 @@ WeightedLRU::invalidate(const std::shared_ptr<ReplacementData>&
 }
 
 } // namespace ReplacementPolicy
-
-ReplacementPolicy::WeightedLRU*
-WeightedLRURPParams::create() const
-{
-    return new ReplacementPolicy::WeightedLRU(*this);
-}
index cc2fac62bb4ccfabb814ac9eb941a8c978b9f531..6507007a7f0a3cc02afaafffb0e06269d6978855 100644 (file)
@@ -54,6 +54,9 @@ BaseSetAssoc::BaseSetAssoc(const Params &p)
      sequentialAccess(p.sequential_access),
      replacementPolicy(p.replacement_policy)
 {
+    // There must be a indexing policy
+    fatal_if(!p.indexing_policy, "An indexing policy is required");
+
     // Check parameters
     if (blkSize < 4 || !isPowerOf2(blkSize)) {
         fatal("Block size must be at least 4 and a power of 2");
@@ -90,12 +93,3 @@ BaseSetAssoc::invalidate(CacheBlk *blk)
     // Invalidate replacement data
     replacementPolicy->invalidate(blk->replacementData);
 }
-
-BaseSetAssoc *
-BaseSetAssocParams::create() const
-{
-    // There must be a indexing policy
-    fatal_if(!indexing_policy, "An indexing policy is required");
-
-    return new BaseSetAssoc(*this);
-}
index 64a7102d1874c2b7284f53e58d468f4411d68059..780c738f968c3470a1214ad5bef20e9e821c8a58 100644 (file)
@@ -204,9 +204,3 @@ CompressedTags::anyBlk(std::function<bool(CacheBlk &)> visitor)
     }
     return false;
 }
-
-CompressedTags *
-CompressedTagsParams::create() const
-{
-    return new CompressedTags(*this);
-}
index fc69bda645b664d3c141ef341e87f026101c9977..78d601d7782db7f84bb21421c903e19a3c3070e9 100644 (file)
@@ -279,12 +279,6 @@ FALRU::moveToTail(FALRUBlk *blk)
     }
 }
 
-FALRU *
-FALRUParams::create() const
-{
-    return new FALRU(*this);
-}
-
 void
 FALRU::CacheTracking::check(const FALRUBlk *head, const FALRUBlk *tail) const
 {
index ab4a86febe6ddda72afb658acc320c38040286e4..d08b8079c85e190cb6d8f34228c72b0e0e889f26 100644 (file)
@@ -71,9 +71,3 @@ SetAssociative::getPossibleEntries(const Addr addr) const
 {
     return sets[extractSet(addr)];
 }
-
-SetAssociative*
-SetAssociativeParams::create() const
-{
-    return new SetAssociative(*this);
-}
index 5938916c632ed620b07b9d36e3ad394f9d6f6647..62af87ef4f42fd77d57e86f3a9d2cbd9c388d3a7 100644 (file)
@@ -216,9 +216,3 @@ SkewedAssociative::getPossibleEntries(const Addr addr) const
 
     return entries;
 }
-
-SkewedAssociative *
-SkewedAssociativeParams::create() const
-{
-    return new SkewedAssociative(*this);
-}
index aa6cb24ac70f36f98efcbfde38f571e934decdb4..8a4b86f90e92d35e8f058e6a5c02d98158d93d75 100644 (file)
@@ -54,6 +54,9 @@ SectorTags::SectorTags(const SectorTagsParams &p)
       sectorShift(floorLog2(blkSize)), sectorMask(numBlocksPerSector - 1),
       sectorStats(stats, *this)
 {
+    // There must be a indexing policy
+    fatal_if(!p.indexing_policy, "An indexing policy is required");
+
     // Check parameters
     fatal_if(blkSize < 4 || !isPowerOf2(blkSize),
              "Block size must be at least 4 and a power of 2");
@@ -323,12 +326,3 @@ SectorTags::anyBlk(std::function<bool(CacheBlk &)> visitor)
     }
     return false;
 }
-
-SectorTags *
-SectorTagsParams::create() const
-{
-    // There must be a indexing policy
-    fatal_if(!indexing_policy, "An indexing policy is required");
-
-    return new SectorTags(*this);
-}
index cbab90632aa994c67ea321b7c579eeb352b515a4..002d1b50fa163c8362abb7f33e71732f04e0a707 100644 (file)
@@ -1117,9 +1117,3 @@ CoherentXBar::regStats()
 
     snoopFanout.init(0, snoopPorts.size(), 1);
 }
-
-CoherentXBar *
-CoherentXBarParams::create() const
-{
-    return new CoherentXBar(*this);
-}
index 99edd99d8600d447380c6e63ab28b56b889183c5..297837ab1fe216f6b8dfdc0b56e68692f0aea10d 100644 (file)
@@ -57,12 +57,6 @@ CommMonitor::CommMonitor(const Params &params)
             name(), samplePeriodTicks, samplePeriod * 1E3);
 }
 
-CommMonitor*
-CommMonitorParams::create() const
-{
-    return new CommMonitor(*this);
-}
-
 void
 CommMonitor::init()
 {
index 0eaf33687de06809b66b8542a60f5e47430f0360..5c5c64ae5aaa420d6473a9962ca7ec509d0cab7a 100644 (file)
@@ -387,9 +387,3 @@ DRAMSim2::MemoryPort::recvRespRetry()
 {
     memory.recvRespRetry();
 }
-
-DRAMSim2*
-DRAMSim2Params::create() const
-{
-    return new DRAMSim2(*this);
-}
index 36bd371d69884a591767f937d7609a54a33f6c0e..fe5a3ba4fc92e36102aadb2bbb5437b1dc399a3d 100644 (file)
@@ -387,9 +387,3 @@ DRAMsim3::MemoryPort::recvRespRetry()
 {
     memory.recvRespRetry();
 }
-
-DRAMsim3*
-DRAMsim3Params::create() const
-{
-    return new DRAMsim3(*this);
-}
index d7a081f6cf48329df64b8612836ad872b0e23db8..2af175d1685d5056accc35d4bc5aec59fd1782c9 100644 (file)
@@ -93,12 +93,6 @@ ExternalMaster::init()
     }
 }
 
-ExternalMaster *
-ExternalMasterParams::create() const
-{
-    return new ExternalMaster(*this);
-}
-
 void
 ExternalMaster::registerHandler(const std::string &handler_name,
     Handler *handler)
index 1559a3c61d21aa94ed15e5083adb68c97d9090ac..11f8d221e1bf1fec0c76f23406d62274c4acb156 100644 (file)
@@ -230,12 +230,6 @@ ExternalSlave::init()
     }
 }
 
-ExternalSlave *
-ExternalSlaveParams::create() const
-{
-    return new ExternalSlave(*this);
-}
-
 void
 ExternalSlave::registerHandler(const std::string &handler_name,
     Handler *handler)
index 55017dad101f8bcbb522997592e82a57581a410c..b9487c5c608b1a0491ad5cdaa49e8376135370de 100644 (file)
@@ -12,12 +12,6 @@ HMCController::HMCController(const HMCControllerParams &p) :
     assert(p.port_cpu_side_ports_connection_count == 1);
 }
 
-HMCController*
-HMCControllerParams::create() const
-{
-    return new HMCController(*this);
-}
-
 // Since this module is a load distributor, all its request ports have the same
 //  range so we should keep only one of the ranges and ignore the others
 void HMCController::recvRangeChange(PortID mem_side_port_id)
index c6d916420b185fffda24d481c438b30c0a887977..f4f24d4420b281f0ba82570016ae9679be8ec83f 100644 (file)
@@ -343,9 +343,3 @@ MemChecker::reset(Addr addr, size_t size)
         byte_trackers.erase(addr + i);
     }
 }
-
-MemChecker*
-MemCheckerParams::create() const
-{
-    return new MemChecker(*this);
-}
index 6a975f37a95864c439c7652231407d2b856e63df..8f343e592571b0db9b2cbc2359963ba7187d7be5 100644 (file)
@@ -55,12 +55,6 @@ MemCheckerMonitor::MemCheckerMonitor(const Params &params)
 MemCheckerMonitor::~MemCheckerMonitor()
 {}
 
-MemCheckerMonitor*
-MemCheckerMonitorParams::create() const
-{
-    return new MemCheckerMonitor(*this);
-}
-
 void
 MemCheckerMonitor::init()
 {
index 76d2e9759dcdd19fb5ef9215dfb12c9d82379fbc..1e60ced3f77484a5ab76e407e8ca8d1866b88081 100644 (file)
@@ -1467,9 +1467,3 @@ MemCtrl::MemoryPort::recvTimingReq(PacketPtr pkt)
     // pass it to the memory controller
     return ctrl.recvTimingReq(pkt);
 }
-
-MemCtrl*
-MemCtrlParams::create() const
-{
-    return new MemCtrl(*this);
-}
index f51dd2fe63230a41f06b9c525da2273e5f184fb8..d5db9f25f8d6932e17f7c94aa041f66fc0107c7c 100644 (file)
@@ -209,10 +209,3 @@ SimpleMemDelay::delayResp(PacketPtr pkt)
         return 0;
     }
 }
-
-
-SimpleMemDelay *
-SimpleMemDelayParams::create() const
-{
-    return new SimpleMemDelay(*this);
-}
index 8aa8cef88841a8d36230a4bf1a8b9599903adfe4..c86683e6f802619e3f147f66ecccccc38fc3ab62 100644 (file)
@@ -1118,12 +1118,6 @@ DRAMInterface::minBankPrep(const MemPacketQueue& queue,
     return make_pair(bank_mask, hidden_bank_prep);
 }
 
-DRAMInterface*
-DRAMInterfaceParams::create() const
-{
-    return new DRAMInterface(*this);
-}
-
 DRAMInterface::Rank::Rank(const DRAMInterfaceParams &_p,
                          int _rank, DRAMInterface& _dram)
     : EventManager(&_dram), dram(_dram),
@@ -2035,12 +2029,6 @@ NVMInterface::NVMInterface(const NVMInterfaceParams &_p)
 
 }
 
-NVMInterface*
-NVMInterfaceParams::create() const
-{
-    return new NVMInterface(*this);
-}
-
 NVMInterface::Rank::Rank(const NVMInterfaceParams &_p,
                          int _rank, NVMInterface& _nvm)
     : EventManager(&_nvm), rank(_rank), banks(_p.banks_per_rank)
index 2b82ca7842d4ddfdeea12fe2687e48a8c3b2d891..d9e56c17070d73dc64e7a98ff83ed9ed730fd52d 100644 (file)
@@ -310,9 +310,3 @@ NoncoherentXBar::recvFunctional(PacketPtr pkt, PortID cpu_side_port_id)
     // forward the request to the appropriate destination
     memSidePorts[dest_id]->sendFunctional(pkt);
 }
-
-NoncoherentXBar*
-NoncoherentXBarParams::create() const
-{
-    return new NoncoherentXBar(*this);
-}
index eb684a75e42c04537e12bbdfcf926e436a5c313e..7e38fad45f54ba0bd4a1a721495657b19bac44f1 100644 (file)
@@ -120,9 +120,3 @@ MemFootprintProbe::statReset()
     cacheLines.clear();
     pages.clear();
 }
-
-MemFootprintProbe *
-MemFootprintProbeParams::create() const
-{
-    return new MemFootprintProbe(*this);
-}
index 351b2da327e365cdc7dcdbdfd8396fd4bacc3838..067401471455b08ee3dc5ee348f0f082741d0a71 100644 (file)
@@ -118,10 +118,3 @@ MemTraceProbe::handleRequest(const ProbePoints::PacketInfo &pkt_info)
 
     traceStream->write(pkt_msg);
 }
-
-
-MemTraceProbe *
-MemTraceProbeParams::create() const
-{
-    return new MemTraceProbe(*this);
-}
index ec2be989f01cfa7f1b74a340e439110bf325f0aa..57f9199996940cf22e94b07ed28309f3ceb9aa86 100644 (file)
@@ -128,10 +128,3 @@ StackDistProbe::handleRequest(const ProbePoints::PacketInfo &pkt_info)
             writeLogHist.sample(sd_lg2);
     }
 }
-
-
-StackDistProbe *
-StackDistProbeParams::create() const
-{
-    return new StackDistProbe(*this);
-}
index db4f881e089da08ce92fd467072807bfdc421bdd..9d57500b8b8076e38709aa06db3dfd3bec3b4276 100644 (file)
@@ -389,19 +389,7 @@ MemSinkCtrl::MemoryPort::recvTimingReq(PacketPtr pkt)
 
 } // namespace QoS
 
-QoS::MemSinkCtrl*
-QoSMemSinkCtrlParams::create() const
-{
-    return new QoS::MemSinkCtrl(*this);
-}
-
 QoSMemSinkInterface::QoSMemSinkInterface(const QoSMemSinkInterfaceParams &_p)
     : AbstractMemory(_p)
 {
 }
-
-QoSMemSinkInterface*
-QoSMemSinkInterfaceParams::create() const
-{
-    return new QoSMemSinkInterface(*this);
-}
index 124d49a2f2d62d780e2d9f80488884a6670f865c..70979401fbb47ce4ac265177b90aa6abb188ab1f 100644 (file)
@@ -94,9 +94,3 @@ FixedPriorityPolicy::schedule(const RequestorID id, const uint64_t data)
 }
 
 } // namespace QoS
-
-QoS::FixedPriorityPolicy *
-QoSFixedPriorityPolicyParams::create() const
-{
-    return new QoS::FixedPriorityPolicy(*this);
-}
index 988749d82859a35de43489a939f544e69bc7df74..db9fc5e11f426f307d9e87bd03224c5a806c24ed 100644 (file)
@@ -122,9 +122,3 @@ PropFairPolicy::schedule(const RequestorID pkt_id, const uint64_t pkt_size)
 }
 
 } // namespace QoS
-
-QoS::PropFairPolicy *
-QoSPropFairPolicyParams::create() const
-{
-    return new QoS::PropFairPolicy(*this);
-}
index 22b12e0844de3cd4a7bc22aeffdcfa90c4206b50..5114a97d3ea82f787b560cab2fb3dd2f3419a7b8 100644 (file)
@@ -96,9 +96,3 @@ TurnaroundPolicyIdeal::selectBusState()
 }
 
 } // namespace QoS
-
-QoS::TurnaroundPolicyIdeal *
-QoSTurnaroundPolicyIdealParams::create() const
-{
-    return new QoS::TurnaroundPolicyIdeal(*this);
-}
index c5311ae02773a5975ef445cae2a11a6035958997..613b6ed8b963619d52bb3dde6908c71541eb299d 100644 (file)
@@ -48,30 +48,12 @@ BasicLink::print(std::ostream& out) const
     out << name();
 }
 
-BasicLink *
-BasicLinkParams::create() const
-{
-    return new BasicLink(*this);
-}
-
 BasicExtLink::BasicExtLink(const Params &p)
     : BasicLink(p)
 {
 }
 
-BasicExtLink *
-BasicExtLinkParams::create() const
-{
-    return new BasicExtLink(*this);
-}
-
 BasicIntLink::BasicIntLink(const Params &p)
     : BasicLink(p)
 {
 }
-
-BasicIntLink *
-BasicIntLinkParams::create() const
-{
-    return new BasicIntLink(*this);
-}
index 450ca36300ce6e7ef33f0372152c2079b9532efe..8895ae8cbcb693351589a6fdb3e3c1af390b93ec 100644 (file)
@@ -45,9 +45,3 @@ BasicRouter::print(std::ostream& out) const
 {
     out << name();
 }
-
-BasicRouter *
-BasicRouterParams::create() const
-{
-    return new BasicRouter(*this);
-}
index b3631f1927b1e54c348fed2197f42a6e657c73b9..fad1fcaa0096908eb7e21e244903c6dc05e80f42 100644 (file)
@@ -528,9 +528,3 @@ MessageBuffer::functionalAccess(Packet *pkt, bool is_read)
 
     return num_functional_accesses;
 }
-
-MessageBuffer *
-MessageBufferParams::create() const
-{
-    return new MessageBuffer(*this);
-}
index 147b7361117fa215037ce0b46acc8b11efb458bc..599e85786fc2824d9b949569b3ef8e2015f95e41 100644 (file)
@@ -267,9 +267,3 @@ FaultModel::print(void)
         cout << "\n";
     }
 }
-
-FaultModel *
-FaultModelParams::create() const
-{
-    return new FaultModel(*this);
-}
index 0bbc5b1c7fe3302f83cb8e68cc9bb8884eccf694..42dc394cefe46ca2a63bd0a8e6d330f645f12d8f 100644 (file)
@@ -86,12 +86,6 @@ GarnetIntLink::print(std::ostream& out) const
     out << name();
 }
 
-GarnetIntLink *
-GarnetIntLinkParams::create() const
-{
-    return new GarnetIntLink(*this);
-}
-
 GarnetExtLink::GarnetExtLink(const Params &p)
     : BasicExtLink(p)
 {
@@ -159,9 +153,3 @@ GarnetExtLink::print(std::ostream& out) const
 {
     out << name();
 }
-
-GarnetExtLink *
-GarnetExtLinkParams::create() const
-{
-    return new GarnetExtLink(*this);
-}
index ec733185191cda26a2b933f566909a138ed25883..e23500b4f99ba9008f2c0c50ac2c0cf786971191 100644 (file)
@@ -556,12 +556,6 @@ GarnetNetwork::print(ostream& out) const
     out << "[GarnetNetwork]";
 }
 
-GarnetNetwork *
-GarnetNetworkParams::create() const
-{
-    return new GarnetNetwork(*this);
-}
-
 uint32_t
 GarnetNetwork::functionalWrite(Packet *pkt)
 {
index ec23aea86dea01589447630cb7e23bb25fa877c6..c0dcefa46241753596f2066bba22fea7d00eaca5 100644 (file)
@@ -263,9 +263,3 @@ NetworkBridge::wakeup()
     }
     assert(!link_srcQueue->getSize());
 }
-
-NetworkBridge *
-NetworkBridgeParams::create() const
-{
-    return new NetworkBridge(*this);
-}
index e6c22000c5a27dee4bb5c0de98c1c831b818a286..1dd3da994c68ac111e856fc5d0bc4b8cb5be7a81 100644 (file)
@@ -671,9 +671,3 @@ NetworkInterface::functionalWrite(Packet *pkt)
     }
     return num_functional_writes;
 }
-
-NetworkInterface *
-GarnetNetworkInterfaceParams::create() const
-{
-    return new NetworkInterface(*this);
-}
index 24c23c12708194d8f502d0bf24fe542d67df5b27..8634e7d1c4c44427f91647767df8e485ca43f1f8 100644 (file)
@@ -110,18 +110,6 @@ NetworkLink::resetStats()
     m_link_utilized = 0;
 }
 
-NetworkLink *
-NetworkLinkParams::create() const
-{
-    return new NetworkLink(*this);
-}
-
-CreditLink *
-CreditLinkParams::create() const
-{
-    return new CreditLink(*this);
-}
-
 uint32_t
 NetworkLink::functionalWrite(Packet *pkt)
 {
index 311564fc52ed760af3061e4a18402255d5c4a7fe..6bec93f7b16b53fa2d7c7c39c6bf87e5934747d8 100644 (file)
@@ -283,9 +283,3 @@ Router::functionalWrite(Packet *pkt)
 
     return num_functional_writes;
 }
-
-Router *
-GarnetRouterParams::create() const
-{
-    return new Router(*this);
-}
index 70437624fb210a55fa17d5f11f08738a81dc062e..52d5822a644a5a5aef6f001122e43cde80d48fd9 100644 (file)
@@ -44,12 +44,6 @@ SimpleExtLink::print(std::ostream& out) const
     out << name();
 }
 
-SimpleExtLink *
-SimpleExtLinkParams::create() const
-{
-    return new SimpleExtLink(*this);
-}
-
 SimpleIntLink::SimpleIntLink(const Params &p)
     : BasicIntLink(p)
 {
@@ -65,9 +59,3 @@ SimpleIntLink::print(std::ostream& out) const
 {
     out << name();
 }
-
-SimpleIntLink *
-SimpleIntLinkParams::create() const
-{
-    return new SimpleIntLink(*this);
-}
index 86d04321082226697ea9898f8d4270b58e294759..3a15a57a947cf38f51846e64bc477aa4eba9aa44 100644 (file)
@@ -179,12 +179,6 @@ SimpleNetwork::print(ostream& out) const
     out << "[SimpleNetwork]";
 }
 
-SimpleNetwork *
-SimpleNetworkParams::create() const
-{
-    return new SimpleNetwork(*this);
-}
-
 /*
  * The simple network has an array of switches. These switches have buffers
  * that need to be accessed for functional reads and writes. Also the links
index 67b452413f56dccad8f079c3103fab86b6663819..68887ac8fede4842b3d2d5ad5b6ffc322709d5c8 100644 (file)
@@ -183,9 +183,3 @@ Switch::functionalWrite(Packet *pkt)
     }
     return num_functional_writes;
 }
-
-Switch *
-SwitchParams::create() const
-{
-    return new Switch(*this);
-}
index 51a38c495ffaa18a3bb52479dbebe4a52bbc7f1f..62e6022bc4c83713fe85f5c3e4e6c7d912cee385 100644 (file)
@@ -62,12 +62,6 @@ operator<<(ostream& out, const CacheMemory& obj)
     return out;
 }
 
-CacheMemory *
-RubyCacheParams::create() const
-{
-    return new CacheMemory(*this);
-}
-
 CacheMemory::CacheMemory(const Params &p)
     : SimObject(p),
     dataArray(p.dataArrayBanks, p.dataAccessLatency,
index bfb661147b380406c969af0471d4012a6e8d6362..82bc8339984e3e907e30d7ffa4a3c8dda9c8a780 100644 (file)
@@ -158,9 +158,3 @@ DirectoryMemory::recordRequestType(DirectoryRequestType requestType) {
     DPRINTF(RubyStats, "Recorded statistic: %s\n",
             DirectoryRequestType_to_string(requestType));
 }
-
-DirectoryMemory *
-RubyDirectoryMemoryParams::create() const
-{
-    return new DirectoryMemory(*this);
-}
index 04225c843050d89b0c2bf50998470215b31cb5e3..feee1abde6bac757104050ddec48e358beb5b1dc 100644 (file)
 #include "mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh"
 #include "mem/ruby/system/RubySystem.hh"
 
-RubyPrefetcher*
-RubyPrefetcherParams::create() const
-{
-    return new RubyPrefetcher(*this);
-}
-
 RubyPrefetcher::RubyPrefetcher(const Params &p)
     : SimObject(p), m_num_streams(p.num_streams),
     m_array(p.num_streams), m_train_misses(p.train_misses),
index 1d91463db2baef4528f246b86055de71372ad1c4..c57405be65358d3acf00002e6de82bb7598b6544 100644 (file)
@@ -141,9 +141,3 @@ void
 WireBuffer::wakeup()
 {
 }
-
-WireBuffer *
-RubyWireBufferParams::create() const
-{
-    return new WireBuffer(*this);
-}
index 62b24eda1fbc8bc3bca30d207a99aa103d356b0f..538e2b4420bdce1410d09abd894b750d30744b5e 100644 (file)
@@ -199,9 +199,3 @@ DMASequencer::recordRequestType(DMASequencerRequestType requestType)
     DPRINTF(RubyStats, "Recorded statistic: %s\n",
             DMASequencerRequestType_to_string(requestType));
 }
-
-DMASequencer *
-DMASequencerParams::create() const
-{
-    return new DMASequencer(*this);
-}
index 8c6afd04fcc518e78f83747374c3f4fdfbc01059..2f24be638d2a3cbe393abdb5c4535369ae535c94 100644 (file)
@@ -62,12 +62,6 @@ HTMSequencer::htmRetCodeConversion(
     }
 }
 
-HTMSequencer *
-RubyHTMSequencerParams::create() const
-{
-    return new HTMSequencer(*this);
-}
-
 HTMSequencer::HTMSequencer(const RubyHTMSequencerParams &p)
     : Sequencer(p)
 {
index 2badffa648e54ac39e5ca538e742070370a85e68..4d0ac688fdbfbd18f3f22e07e74eff4f0f8c88da 100644 (file)
@@ -61,9 +61,3 @@ RubyPortProxy::makeRequest(PacketPtr pkt)
     panic("RubyPortProxy::makeRequest should not be called");
     return RequestStatus_NULL;
 }
-
-RubyPortProxy*
-RubyPortProxyParams::create() const
-{
-    return new RubyPortProxy(*this);
-}
index 8a6c35417e9503b6bf7dd451a6c7297e3bfae7d1..e4078ec7c8fe3ad283be8ca550a49f20f45e7165 100644 (file)
@@ -638,9 +638,3 @@ RubySystem::functionalWrite(PacketPtr pkt)
 
     return true;
 }
-
-RubySystem *
-RubySystemParams::create() const
-{
-    return new RubySystem(*this);
-}
index 27fb2575ff95e2e537b211d236eb38b7764776aa..407d27015aeac823e65c38713735a0aa29fc6dd4 100644 (file)
 
 using namespace std;
 
-Sequencer *
-RubySequencerParams::create() const
-{
-    return new Sequencer(*this);
-}
-
 Sequencer::Sequencer(const Params &p)
     : RubyPort(p), m_IncompleteTimes(MachineType_NUM),
       deadlockCheckEvent([this]{ wakeup(); }, "Sequencer deadlock check")
index f0873a42a43884f60f99d52d3ea5bed13f6a7367..69add1b98209529a41ab5ea535b2a1fde8c44d68 100644 (file)
 
 using namespace std;
 
-VIPERCoalescer *
-VIPERCoalescerParams::create() const
-{
-    return new VIPERCoalescer(*this);
-}
-
 VIPERCoalescer::VIPERCoalescer(const Params &p)
     : GPUCoalescer(p),
       m_cache_inv_pkt(nullptr),
index 1b07770d69f9f680737424ee8dc85eb47b4e4b00..12309ef56a3e14550d1431e9b0a64945be0ba367 100644 (file)
@@ -420,9 +420,3 @@ SerialLink::SerialLinkResponsePort::getAddrRanges() const
 {
     return ranges;
 }
-
-SerialLink *
-SerialLinkParams::create() const
-{
-    return new SerialLink(*this);
-}
index 80e4cb392c8aa7db5eb3702cdb3a416bf4582906..3ed3d04f3afed87fda62c5393a8d5ebe06748d2e 100644 (file)
@@ -301,9 +301,3 @@ SimpleMemory::MemoryPort::recvRespRetry()
 {
     memory.recvRespRetry();
 }
-
-SimpleMemory*
-SimpleMemoryParams::create() const
-{
-    return new SimpleMemory(*this);
-}
index 371b40e1bb6a0ee907dacada255a252a010de205..c4601bb6d12fe09129c5e916d39164909a80450b 100644 (file)
@@ -539,12 +539,6 @@ using namespace std;
         num_in_ports = len(self.in_ports)
 
         code('''
-$c_ident *
-${c_ident}Params::create() const
-{
-    return new $c_ident(*this);
-}
-
 int $c_ident::m_num_controllers = 0;
 std::vector<Stats::Vector *>  $c_ident::eventVec;
 std::vector<std::vector<Stats::Vector *> >  $c_ident::transVec;
index 7fa1f4e9997cf632625cb389448a7bfbf21f3395..7ced30c51168b52500033d5986efd922c91f7f6d 100644 (file)
@@ -420,9 +420,3 @@ SnoopFilter::regStats()
         .desc("Number of snoops hitting in the snoop filter with multiple "\
               "(>1) holders of the requested data.");
 }
-
-SnoopFilter *
-SnoopFilterParams::create() const
-{
-    return new SnoopFilter(*this);
-}
index e591b8c1d9d0ccd1e03e23ceaf2d1d0bff4b1a47..61d56547222a2e74a80dc257935f95085ffd08cb 100644 (file)
@@ -181,12 +181,6 @@ SrcClockDomain::startup()
     signalPerfLevelUpdate();
 }
 
-SrcClockDomain *
-SrcClockDomainParams::create() const
-{
-    return new SrcClockDomain(*this);
-}
-
 DerivedClockDomain::DerivedClockDomain(const Params &p) :
     ClockDomain(p, p.clk_domain->voltageDomain()),
     parent(*p.clk_domain),
@@ -227,9 +221,3 @@ DerivedClockDomain::updateClockPeriod()
         (*c)->updateClockPeriod();
     }
 }
-
-DerivedClockDomain *
-DerivedClockDomainParams::create() const
-{
-    return new DerivedClockDomain(*this);
-}
index 224acde0329c72ae6bde38457b1e56e4265553bf..38ca35cefcbc782f01c795006be6121325c67d7a 100644 (file)
@@ -251,9 +251,3 @@ DVFSHandler::unserialize(CheckpointIn &cp)
     }
     UpdateEvent::dvfsHandler = this;
 }
-
-DVFSHandler*
-DVFSHandlerParams::create() const
-{
-    return new DVFSHandler(*this);
-}
index 9791dfc22be5cdf86ec43e783e0f373a41a53626..14e8b02e011f2336a2f3dc450a4f6375bc872387 100644 (file)
@@ -135,9 +135,3 @@ KernelWorkload::unserialize(CheckpointIn &cp)
 {
     kernelSymtab.unserialize("symtab", cp);
 }
-
-KernelWorkload *
-KernelWorkloadParams::create() const
-{
-    return new KernelWorkload(*this);
-}
index 2f48034be9d599754391fba9556c8987c64896ee..4f3f927354e9535da83f4e137f9a68b767ecb2ce 100644 (file)
@@ -113,9 +113,3 @@ MathExprPowerModel::regStats()
 {
     PowerModelState::regStats();
 }
-
-MathExprPowerModel*
-MathExprPowerModelParams::create() const
-{
-    return new MathExprPowerModel(*this);
-}
index fa179e088bf4d96cd4f9cf4fde722c01f6de12c4..fa531e056f35a66ee5c7aa48db2b8e21ff9144d1 100644 (file)
@@ -87,12 +87,6 @@ PowerModel::regProbePoints()
     ));
 }
 
-PowerModel*
-PowerModelParams::create() const
-{
-    return new PowerModel(*this);
-}
-
 double
 PowerModel::getDynamicPower() const
 {
index 11a9ca969025944c0c99afc54b1dd7418e52c77b..0b5bedd57e88247f31c90f1f808a8f3cf36fb2fc 100644 (file)
@@ -88,12 +88,6 @@ ThermalDomain::emitUpdate()
     ppThermalUpdate->notify(node->temp);
 }
 
-ThermalDomain *
-ThermalDomainParams::create() const
-{
-    return new ThermalDomain(*this);
-}
-
 void
 ThermalDomain::serialize(CheckpointOut &cp) const
 {
index c6a50ad4767520da151c00205793770f646ef668..65649e5132e448fb09bf90f73f7386edb22a043e 100644 (file)
@@ -54,12 +54,6 @@ ThermalReference::ThermalReference(const Params &p)
 {
 }
 
-ThermalReference *
-ThermalReferenceParams::create() const
-{
-    return new ThermalReference(*this);
-}
-
 void
 ThermalReference::serialize(CheckpointOut &cp) const
 {
@@ -87,12 +81,6 @@ ThermalResistor::ThermalResistor(const Params &p)
 {
 }
 
-ThermalResistor *
-ThermalResistorParams::create() const
-{
-    return new ThermalResistor(*this);
-}
-
 void
 ThermalResistor::serialize(CheckpointOut &cp) const
 {
@@ -140,12 +128,6 @@ ThermalCapacitor::ThermalCapacitor(const Params &p)
 {
 }
 
-ThermalCapacitor *
-ThermalCapacitorParams::create() const
-{
-    return new ThermalCapacitor(*this);
-}
-
 void
 ThermalCapacitor::serialize(CheckpointOut &cp) const
 {
@@ -196,12 +178,6 @@ ThermalModel::ThermalModel(const Params &p)
 {
 }
 
-ThermalModel *
-ThermalModelParams::create() const
-{
-    return new ThermalModel(*this);
-}
-
 void
 ThermalModel::serialize(CheckpointOut &cp) const
 {
index d2d05e6194a09d8a6d1188aebe5262aab5f8cb32..c8806d9a6ab2ffe51f408cdef93e843bb68f5404 100644 (file)
@@ -47,9 +47,3 @@ ThermalNode::ThermalNode(const ThermalNodeParams &p)
     : SimObject(p), id(-1), isref(false), temp(0.0f)
 {
 }
-
-ThermalNode *
-ThermalNodeParams::create() const
-{
-    return new ThermalNode(*this);
-}
index c7a6b08993526190317b0a7f682c3401e584991f..c6e0d35108b0915f29cb82d426639e7371bfddac 100644 (file)
@@ -263,9 +263,3 @@ PowerDomain::PowerDomainStats::regStats()
         .flags(Stats::nozero)
         ;
 }
-
-PowerDomain*
-PowerDomainParams::create() const
-{
-    return new PowerDomain(*this);
-}
index 37ab87fac85168b1210b750c6f420c76bd1150e4..a11ed430bcaf9919b2eb68e5eb8f2539d0bbfb43 100644 (file)
@@ -273,9 +273,3 @@ PowerState::PowerStateStats::preDumpStats()
      */
     powerState.computeStats();
 }
-
-PowerState*
-PowerStateParams::create() const
-{
-    return new PowerState(*this);
-}
index 27067adabb0ab9e56b5fc2a519d664611dcce73c..b764db0b06b28a015421dcdb41e50b9fa0972db2 100644 (file)
@@ -74,12 +74,6 @@ ProbeListener::~ProbeListener()
     manager->removeListener(name, *this);
 }
 
-ProbeListenerObject*
-ProbeListenerObjectParams::create() const
-{
-    return new ProbeListenerObject(*this);
-}
-
 bool
 ProbeManager::addListener(std::string pointName, ProbeListener &listener)
 {
index 912c4585a8c7f1322842159da8a7de6eda48f42d..f270057c243a0b12e838fa57f5c8bb00b0115214 100644 (file)
@@ -53,9 +53,3 @@ RedirectPath::RedirectPath(const RedirectPathParams &p)
         _hostPaths.push_back(normalizePath(hp));
     }
 }
-
-RedirectPath*
-RedirectPathParams::create() const
-{
-    return new RedirectPath(*this);
-}
index 2cd383897d40dda6f59abfbe961459446d991407..a596bd8f6cafae71aed990bdedd5f5826de85886 100644 (file)
@@ -39,9 +39,3 @@ SEWorkload::syscall(ThreadContext *tc)
 {
     tc->getProcessPtr()->syscall(tc);
 }
-
-SEWorkload *
-SEWorkloadParams::create() const
-{
-    return new SEWorkload(*this);
-}
index 2c0b1aa35d7487086eacbb9f8a15cda2ed667e2c..e543541714a7cbff1c103af251fec05e25046176 100644 (file)
@@ -66,9 +66,3 @@ SubSystem::getStaticPower() const
         ret += obj->getStaticPower();
     return ret;
 }
-
-SubSystem *
-SubSystemParams::create() const
-{
-    return new SubSystem(*this);
-}
index 46b92622b35ae9a7616005b3a0f4b49681618611..d31238c348c86f2c7be71fe23f069f5b3e3a5720 100644 (file)
@@ -651,9 +651,3 @@ System::getRequestorName(RequestorID requestor_id)
     const auto& requestor_info = requestors[requestor_id];
     return requestor_info.req_name;
 }
-
-System *
-SystemParams::create() const
-{
-    return new System(*this);
-}
index 14d7c869f53a09dabfb005c0938b8c62c1e8254e..f6f8396279454eb020d39380523100476d30437a 100644 (file)
@@ -124,12 +124,6 @@ VoltageDomain::startup() {
     }
 }
 
-VoltageDomain *
-VoltageDomainParams::create() const
-{
-    return new VoltageDomain(*this);
-}
-
 void
 VoltageDomain::serialize(CheckpointOut &cp) const
 {