summaryrefslogtreecommitdiffstats
path: root/hw/arm_gic.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-24 03:09:07 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-24 03:09:07 +0000
commite57ec0168ce21cdda48ddf45d77b76185667d9e6 (patch)
treeecc5d911db4022c5e785a3d42ce2d347e1274bd7 /hw/arm_gic.c
parentaae9366a036b813d58fad2d99d28a2a478109f75 (diff)
downloadhqemu-e57ec0168ce21cdda48ddf45d77b76185667d9e6.zip
hqemu-e57ec0168ce21cdda48ddf45d77b76185667d9e6.tar.gz
ARMv7-M SysTick fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3727 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/arm_gic.c')
-rw-r--r--hw/arm_gic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm_gic.c b/hw/arm_gic.c
index 774b79b..8257730 100644
--- a/hw/arm_gic.c
+++ b/hw/arm_gic.c
@@ -638,7 +638,7 @@ static void gic_reset(gic_state *s)
s->cpu_enabled[i] = 0;
#endif
}
- for (i = 0; i < 15; i++) {
+ for (i = 0; i < 16; i++) {
GIC_SET_ENABLED(i);
GIC_SET_TRIGGER(i);
}
OpenPOWER on IntegriCloud