From 32eae8094d8931f161784825ad013e9c6d995c17 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Fri, 2 Mar 2012 09:21:48 -0500 Subject: 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. --- tests/configs/simple-timing-ruby.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/configs/simple-timing-ruby.py') diff --git a/tests/configs/simple-timing-ruby.py b/tests/configs/simple-timing-ruby.py index 4f812f209..8339e0e9a 100644 --- a/tests/configs/simple-timing-ruby.py +++ b/tests/configs/simple-timing-ruby.py @@ -75,6 +75,9 @@ Ruby.create_system(options, system) assert(len(system.ruby._cpu_ruby_ports) == 1) +# create the interrupt controller +cpu.createInterruptController() + # # Tie the cpu cache ports to the ruby cpu ports and # physmem, respectively -- cgit v1.2.3