diff options
author | Alistair Francis <alistair23@gmail.com> | 2015-02-05 13:37:21 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-02-05 13:37:21 +0000 |
commit | 8b47b7da29121ecddb173dd4afb82d6fb0eece37 (patch) | |
tree | 0c86cfbff657110d7a129c2a8daccda1335c14a5 /include/hw | |
parent | fe6ac447add80978c1bf988c3ef4a7ce8aab2fa0 (diff) | |
download | qemu-8b47b7da29121ecddb173dd4afb82d6fb0eece37.tar.gz qemu-8b47b7da29121ecddb173dd4afb82d6fb0eece37.tar.bz2 qemu-8b47b7da29121ecddb173dd4afb82d6fb0eece37.zip |
target_arm: Parameterise the irq lines for armv7m_init
This patch allows the board to specifiy the number of NVIC interrupt
lines when using armv7m_init.
Signed-off-by: Alistair Francis <alistair23@gmail.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: 5a0b0fcc778df0340899f488053acc9493679e03.1422077994.git.alistair23@gmail.com
[PMM: removed stale FIXME comment]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/arm/arm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/arm/arm.h b/include/hw/arm/arm.h index f8b329bb3a..5c940eb412 100644 --- a/include/hw/arm/arm.h +++ b/include/hw/arm/arm.h @@ -15,7 +15,7 @@ #include "hw/irq.h" /* armv7m.c */ -qemu_irq *armv7m_init(MemoryRegion *system_memory, int mem_size, +qemu_irq *armv7m_init(MemoryRegion *system_memory, int mem_size, int num_irq, const char *kernel_filename, const char *cpu_model); /* arm_boot.c */ |