summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/thread_context.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-01-07 13:05:44 -0500
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-01-07 13:05:44 -0500
commit901258c22b631cd7c14e564bd5f1cde36347515e (patch)
tree0f60293252ffd01829c88800363c11f716e88677 /src/cpu/inorder/thread_context.hh
parent4ae02295d59036fa2f9d272ee288e0321bb8257a (diff)
downloadgem5-901258c22b631cd7c14e564bd5f1cde36347515e.tar.xz
cpu: Correctly call parent on switchOut() and takeOverFrom()
This patch cleans up the CPU switching functionality by making sure that CPU models consistently call the parent on switchOut() and takeOverFrom(). This has the following implications that might alter current functionality: * The call to BaseCPU::switchout() in the O3 CPU is moved from signalDrained() (!) to switchOut(). * A call to BaseSimpleCPU::switchOut() is introduced in the simple CPUs.
Diffstat (limited to 'src/cpu/inorder/thread_context.hh')
0 files changed, 0 insertions, 0 deletions