arch,cpu: Add a setThreadContext method to the ISA class.
authorGabe Black <gabeblack@google.com>
Mon, 18 May 2020 08:59:40 +0000 (01:59 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 12 Jun 2020 05:41:41 +0000 (05:41 +0000)
commit260fc34c975695777e3a1be905103b8dfe837595
tree075a11fc3c92e039e0a2d8a96a7d4ef26c58b0b4
parentbd9fb891225bdcd6b2896303458c092ce3a92902
arch,cpu: Add a setThreadContext method to the ISA class.

Also remove ThreadContext pointer parameters to some of the methods in
the ISA classes.

Change-Id: I8e502b1857d299cb2e759a9734a1df4f65f31efe
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29233
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
26 files changed:
src/arch/arm/insts/static_inst.cc
src/arch/arm/isa.cc
src/arch/arm/isa.hh
src/arch/generic/isa.hh
src/arch/mips/isa.cc
src/arch/mips/isa.hh
src/arch/power/isa.hh
src/arch/riscv/isa.cc
src/arch/riscv/isa.hh
src/arch/sparc/isa.cc
src/arch/sparc/isa.hh
src/arch/sparc/ua2005.cc
src/arch/x86/isa.cc
src/arch/x86/isa.hh
src/cpu/SConscript
src/cpu/base.cc
src/cpu/cpuevent.cc [deleted file]
src/cpu/cpuevent.hh [deleted file]
src/cpu/kvm/base.cc
src/cpu/minor/cpu.cc
src/cpu/o3/cpu.cc
src/cpu/o3/thread_context_impl.hh
src/cpu/simple/base.cc
src/cpu/simple/base.hh
src/cpu/simple_thread.cc
src/cpu/simple_thread.hh