fastmodel: Checkpoint the TCs when checkpointing a fast model CPU.
authorGabe Black <gabeblack@google.com>
Tue, 5 Nov 2019 23:53:02 +0000 (15:53 -0800)
committerGabe Black <gabeblack@google.com>
Fri, 27 Dec 2019 20:52:13 +0000 (20:52 +0000)
commit09b658f69969ef998b5994156f92f7b645aaf619
treeaa49e0dc7771ce18e89a7dc66e07b8fa356b2f7b
parent1a71417b89f20f5637f60b6a032f8ba9cfc95378
fastmodel: Checkpoint the TCs when checkpointing a fast model CPU.

The generic thread context checkpointing code can be used which calls
into the ThreadContext methods to read the required state.

Change-Id: Ib5c318ff4d2e756274b4c90b56533b2689a837f2
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23785
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/cpu.cc
src/arch/arm/fastmodel/iris/cpu.hh