cpu: Make getIsaPtr return a BaseISA pointer.
authorGabe Black <gabeblack@google.com>
Tue, 4 Feb 2020 00:36:04 +0000 (16:36 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 5 Feb 2020 22:41:56 +0000 (22:41 +0000)
commite2b5c15f193c02e607d5d8fd9c09a0a9a5efc213
tree42945af4e432afd1f5a45e042c49a7176374398f
parentc8079dd745d0b1632e8d7b9befa4f293e6fbe3f5
cpu: Make getIsaPtr return a BaseISA pointer.

This isolates the architecture specific ISA types a little bit, and
means that ThreadContexts don't *have* to find an architecture specific
class to return, even if they don't naturally have one lying around.

Change-Id: Ide10b5d945ec6076947b2ccdea87c86e96e40857
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25008
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/arch/arm/fastmodel/iris/thread_context.hh
src/cpu/checker/thread_context.hh
src/cpu/o3/thread_context.hh
src/cpu/simple_thread.hh
src/cpu/thread_context.hh