arch: Use shared_ptr for all Faults
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 16 Oct 2014 09:49:51 +0000 (05:49 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 16 Oct 2014 09:49:51 +0000 (05:49 -0400)
commita2d246b6b8379f9a74dbc56feefc155f615b5ea4
treebbfaf7a39edebda5ca7ddac9af5e205823d37e10
parenta769963d16b7b259580fa2da1e84f62aae0a5a42
arch: Use shared_ptr for all Faults

This patch takes quite a large step in transitioning from the ad-hoc
RefCountingPtr to the c++11 shared_ptr by adopting its use for all
Faults. There are no changes in behaviour, and the code modifications
are mostly just replacing "new" with "make_shared".
91 files changed:
src/arch/alpha/ev5.cc
src/arch/alpha/faults.hh
src/arch/alpha/interrupts.hh
src/arch/alpha/isa/decoder.isa
src/arch/alpha/isa/fp.isa
src/arch/alpha/isa/opcdec.isa
src/arch/alpha/isa/unimp.isa
src/arch/alpha/isa/unknown.isa
src/arch/alpha/tlb.cc
src/arch/alpha/tlb.hh
src/arch/arm/insts/static_inst.hh
src/arch/arm/interrupts.hh
src/arch/arm/isa/formats/breakpoint.isa
src/arch/arm/isa/formats/unimp.isa
src/arch/arm/isa/insts/branch.isa
src/arch/arm/isa/insts/branch64.isa
src/arch/arm/isa/insts/data64.isa
src/arch/arm/isa/insts/fp.isa
src/arch/arm/isa/insts/macromem.isa
src/arch/arm/isa/insts/misc.isa
src/arch/arm/isa/insts/misc64.isa
src/arch/arm/isa/insts/neon.isa
src/arch/arm/isa/insts/neon64.isa
src/arch/arm/isa/insts/neon64_mem.isa
src/arch/arm/isa/insts/swap.isa
src/arch/arm/isa/templates/mem64.isa
src/arch/arm/isa/templates/neon.isa
src/arch/arm/isa/templates/vfp.isa
src/arch/arm/table_walker.cc
src/arch/arm/table_walker.hh
src/arch/arm/tlb.cc
src/arch/arm/tlb.hh
src/arch/arm/utility.cc
src/arch/generic/memhelpers.hh
src/arch/mips/interrupts.cc
src/arch/mips/isa.hh
src/arch/mips/isa/decoder.isa
src/arch/mips/isa/formats/control.isa
src/arch/mips/isa/formats/dsp.isa
src/arch/mips/isa/formats/fp.isa
src/arch/mips/isa/formats/int.isa
src/arch/mips/isa/formats/mt.isa
src/arch/mips/isa/formats/trap.isa
src/arch/mips/isa/formats/unimp.isa
src/arch/mips/isa/formats/unknown.isa
src/arch/mips/mt.hh
src/arch/mips/tlb.hh
src/arch/power/isa/formats/unimp.isa
src/arch/power/isa/formats/unknown.isa
src/arch/power/tlb.cc
src/arch/power/tlb.hh
src/arch/sparc/interrupts.hh
src/arch/sparc/isa/base.isa
src/arch/sparc/isa/decoder.isa
src/arch/sparc/isa/formats/mem/util.isa
src/arch/sparc/isa/formats/priv.isa
src/arch/sparc/isa/formats/trap.isa
src/arch/sparc/isa/formats/unknown.isa
src/arch/sparc/tlb.cc
src/arch/sparc/tlb.hh
src/arch/sparc/utility.cc
src/arch/sparc/utility.hh
src/arch/x86/interrupts.cc
src/arch/x86/isa/formats/string.isa
src/arch/x86/isa/formats/unknown.isa
src/arch/x86/isa/insts/general_purpose/compare_and_test/bounds.py
src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py
src/arch/x86/isa/insts/general_purpose/control_transfer/jump.py
src/arch/x86/isa/insts/system/undefined_operation.py
src/arch/x86/isa/insts/x87/arithmetic/addition.py
src/arch/x86/isa/insts/x87/arithmetic/subtraction.py
src/arch/x86/isa/insts/x87/data_transfer_and_conversion/exchange.py
src/arch/x86/isa/microops/debug.isa
src/arch/x86/isa/microops/regop.isa
src/arch/x86/memhelpers.hh
src/arch/x86/pagetable_walker.cc
src/arch/x86/tlb.cc
src/arch/x86/tlb.hh
src/arch/x86/vtophys.cc
src/base/types.hh
src/cpu/base_dyn_inst.hh
src/cpu/exec_context.hh
src/cpu/inorder/inorder_dyn_inst.cc
src/cpu/inorder/inorder_dyn_inst.hh
src/cpu/o3/dyn_inst_impl.hh
src/cpu/o3/lsq_unit.hh
src/cpu/o3/lsq_unit_impl.hh
src/cpu/static_inst.hh
src/sim/fault_fwd.hh [deleted file]
src/sim/faults.hh
src/sim/tlb.hh