Faults: Pass the StaticInst involved, if any, to a Fault's invoke method.
authorGabe Black <gblack@eecs.umich.edu>
Tue, 14 Sep 2010 02:26:03 +0000 (19:26 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Tue, 14 Sep 2010 02:26:03 +0000 (19:26 -0700)
commit6833ca7eedd351596bb1518620af7465f5172fcd
tree4a67b3d591132dab3e8273fc9dfba606a1720e4a
parent2edfcbbaee87c1a28351fc0dcd81d52d0d9102a4
Faults: Pass the StaticInst involved, if any, to a Fault's invoke method.

Also move the "Fault" reference counted pointer type into a separate file,
sim/fault.hh. It would be better to name this less similarly to sim/faults.hh
to reduce confusion, but fault.hh matches the name of the type. We could change
Fault to FaultPtr to match other pointer types, and then changing the name of
the file would make more sense.
66 files changed:
src/arch/alpha/faults.cc
src/arch/alpha/faults.hh
src/arch/alpha/isa.cc
src/arch/alpha/process.cc
src/arch/alpha/tlb.hh
src/arch/alpha/tru64/process.cc
src/arch/arm/faults.cc
src/arch/arm/faults.hh
src/arch/arm/isa.cc
src/arch/arm/isa/includes.isa
src/arch/arm/nativetrace.cc
src/arch/arm/process.cc
src/arch/arm/table_walker.hh
src/arch/arm/tlb.hh
src/arch/arm/utility.hh
src/arch/mips/faults.cc
src/arch/mips/faults.hh
src/arch/mips/isa.hh
src/arch/mips/tlb.hh
src/arch/mips/utility.cc
src/arch/power/tlb.hh
src/arch/sparc/faults.cc
src/arch/sparc/faults.hh
src/arch/sparc/nativetrace.cc
src/arch/sparc/remote_gdb.cc
src/arch/sparc/tlb.cc
src/arch/sparc/tlb.hh
src/arch/sparc/utility.cc
src/arch/sparc/utility.hh
src/arch/x86/faults.cc
src/arch/x86/faults.hh
src/arch/x86/insts/microldstop.hh
src/arch/x86/nativetrace.cc
src/arch/x86/tlb.hh
src/base/types.hh
src/cpu/base_dyn_inst.hh
src/cpu/checker/cpu_impl.hh
src/cpu/inorder/cpu.cc
src/cpu/inorder/cpu.hh
src/cpu/inorder/inorder_dyn_inst.cc
src/cpu/inorder/resources/cache_unit.cc
src/cpu/inorder/resources/execution_unit.cc
src/cpu/inorder/resources/mult_div_unit.cc
src/cpu/inorder/resources/tlb_unit.cc
src/cpu/o3/commit_impl.hh
src/cpu/o3/cpu.cc
src/cpu/o3/cpu.hh
src/cpu/o3/dyn_inst_impl.hh
src/cpu/simple/atomic.cc
src/cpu/simple/base.cc
src/cpu/simple/timing.cc
src/cpu/simple_thread.hh
src/cpu/static_inst.hh
src/cpu/thread_context.hh
src/cpu/translation.hh
src/kern/kernel_stats.hh
src/kern/tru64/tru64.hh
src/mem/page_table.cc
src/mem/page_table.hh
src/sim/fault.hh [new file with mode: 0644]
src/sim/faults.cc
src/sim/faults.hh
src/sim/process_impl.hh
src/sim/syscall_emul.hh
src/sim/tlb.cc
src/sim/tlb.hh