diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-08-13 11:04:05 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-08-13 11:04:05 +0100 |
commit | 55e00a19b6dc8f20e5688866451bb4a60e649459 (patch) | |
tree | cd1b9f5ce57d148af7eb7078e929ed0df286efb2 /sh4-dis.c | |
parent | 33e95c6328a3149a52615176617997c4f8f7088b (diff) |
hw/armv7m_nvic: Fix incorrect default for num-irqs property
Fix an incorrect default value for the num-irqs property (we were
attempting to override it from the default set by the parent class
but not succeeding, which meant that the lm3s6965evb model would
assert on startup attempting to wire up nonexistent irq lines).
Instead of trying to override the parent's Property array, we
define an instance_init function which runs after default setup
but before user property setting and can just fix up the default
value in the gic_state struct.
Reported-by: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
Tested-by: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'sh4-dis.c')
0 files changed, 0 insertions, 0 deletions