config,cpu: Add SMT support to Atomic and Timing CPUs
authorMitch Hayenga <mitch.hayenga@arm.com>
Wed, 30 Sep 2015 16:14:19 +0000 (11:14 -0500)
committerMitch Hayenga <mitch.hayenga@arm.com>
Wed, 30 Sep 2015 16:14:19 +0000 (11:14 -0500)
commit582a0148b441fe9f4a6f977094c5ce6bf7ab6313
treedc2a54ead2b5f7b8e521cfb49b28dc054088b17a
parent52d521e4337995d417b6f7b68644959edcc0c6b4
config,cpu: Add SMT support to Atomic and Timing CPUs

Adds SMT support to the "simple" CPU models so that they can be
used with other SMT-supported CPUs. Example usage: this enables
the TimingSimpleCPU to be used to warmup caches before swapping to
detailed mode with the in-order or out-of-order based CPU models.
configs/example/se.py
src/cpu/simple/atomic.cc
src/cpu/simple/atomic.hh
src/cpu/simple/base.cc
src/cpu/simple/base.hh
src/cpu/simple/exec_context.hh [new file with mode: 0644]
src/cpu/simple/timing.cc
src/cpu/simple/timing.hh
tests/quick/se/01.hello-2T-smt/test.py