cpu: Move the branch predictor out of the BaseCPU
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 4 Sep 2013 17:22:56 +0000 (13:22 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 4 Sep 2013 17:22:56 +0000 (13:22 -0400)
commitea402970185d5df01dbad2c0f41b8d76d2eb01cd
treeca6670c9db05e67783b34a4a1d099b9500ef2bdd
parentbb1d2f39575795f0b369bb3cabb52c9d42a8b1c6
cpu: Move the branch predictor out of the BaseCPU

The branch predictor is guarded by having either the in-order or
out-of-order CPU as one of the available CPU models and therefore
should not be used in the BaseCPU. This patch moves the parameter to
the relevant CPU classes.
src/cpu/BaseCPU.py
src/cpu/inorder/InOrderCPU.py
src/cpu/o3/O3CPU.py