]> xenbits.xensource.com Git - qemu-xen.git/commit
hw/intc/arm_gic_common.c: Reset all registers
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Jun 2015 18:25:45 +0000 (19:25 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Jul 2015 09:13:17 +0000 (10:13 +0100)
commit12dc273e98e4e111880b25c12bf671dc8951b8e6
tree87ddbc336657790d4b56cc14476d205b7aca4dfc
parentc87e5a61c2b3024116f52f7e68273f864ff7ab82
hw/intc/arm_gic_common.c: Reset all registers

The arm_gic_common reset function was missing reset code for
several of the GIC's state fields:
 * bpr[]
 * abpr[]
 * priority1[]
 * priority2[]
 * sgi_pending[]
 * irq_target[] (SMP configurations only)

These probably went unnoticed because most guests will either
never touch them, or will write to them in the process of
configuring the GIC before enabling interrupts.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1435602345-32210-1-git-send-email-peter.maydell@linaro.org
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
hw/intc/arm_gic_common.c