CPU: Check that the interrupt controller is created when needed
authorAndreas Hansson <andreas.hansson@arm.com>
Fri, 2 Mar 2012 14:21:48 +0000 (09:21 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Fri, 2 Mar 2012 14:21:48 +0000 (09:21 -0500)
commit32eae8094d8931f161784825ad013e9c6d995c17
treeef3dc2b37cecd53d7bd1fcd5809b0ed251f30b3a
parentc0b9f324bf2780b344bef04a4ce7ee063e172e40
CPU: Check that the interrupt controller is created when needed

This patch adds a creation-time check to the CPU to ensure that the
interrupt controller is created for the cases where it is needed,
i.e. if the CPU is not being switched in later and not a checker CPU.

The patch also adds the "createInterruptController" call to a number
of the regression scripts.
31 files changed:
src/cpu/base.cc
src/cpu/base.hh
src/cpu/checker/cpu.cc
src/cpu/inorder/cpu.cc
src/cpu/o3/cpu.cc
tests/configs/inorder-timing.py
tests/configs/o3-timing-mp-ruby.py
tests/configs/o3-timing-mp.py
tests/configs/o3-timing-ruby.py
tests/configs/o3-timing.py
tests/configs/pc-o3-timing.py
tests/configs/pc-simple-atomic.py
tests/configs/pc-simple-timing.py
tests/configs/realview-o3-dual.py
tests/configs/realview-o3.py
tests/configs/realview-simple-atomic-dual.py
tests/configs/realview-simple-atomic.py
tests/configs/realview-simple-timing-dual.py
tests/configs/realview-simple-timing.py
tests/configs/simple-atomic-mp.py
tests/configs/simple-atomic.py
tests/configs/simple-timing-mp.py
tests/configs/simple-timing-ruby.py
tests/configs/simple-timing.py
tests/configs/tsunami-o3-dual.py
tests/configs/tsunami-o3.py
tests/configs/tsunami-simple-atomic-dual.py
tests/configs/tsunami-simple-atomic.py
tests/configs/tsunami-simple-timing-dual.py
tests/configs/tsunami-simple-timing.py
tests/configs/twosys-tsunami-simple-atomic.py