aboutsummaryrefslogtreecommitdiff
path: root/hw/stellaris.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-22 08:57:19 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-22 08:57:19 +0000
commitf3d8b1eb105199a1d6bf063a8a574e782689909a (patch)
tree789fee0422ab51415bc833e44493253c3f47db2b /hw/stellaris.c
parent563e3c6e6e47536bdaad277ec545e27ee0594c41 (diff)
array overflow in hw/stellaris.c and hw/omap_dss.c
(Jindrich Makovicka) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5064 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/stellaris.c')
-rw-r--r--hw/stellaris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/stellaris.c b/hw/stellaris.c
index 999cb50593..93f751171e 100644
--- a/hw/stellaris.c
+++ b/hw/stellaris.c
@@ -1308,8 +1308,8 @@ static void stellaris_init(const char *kernel_filename, const char *cpu_model,
static const int gpio_irq[7] = {0, 1, 2, 3, 4, 30, 31};
qemu_irq *pic;
- qemu_irq *gpio_in[5];
- qemu_irq *gpio_out[5];
+ qemu_irq *gpio_in[7];
+ qemu_irq *gpio_out[7];
qemu_irq adc;
int sram_size;
int flash_size;