aboutsummaryrefslogtreecommitdiff
path: root/qemu-timer.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2011-11-29 06:34:48 +0100
committerAurelien Jarno <aurelien@aurel32.net>2012-01-08 15:11:39 +0100
commit0b23c5d40ea933cfece3b4f69427f79c8a23256d (patch)
treeb01666943e3d39408ce44a7e1e278962836d8df7 /qemu-timer.h
parent1c8a881daaca6fe0646a425b0970fb3ad25f6732 (diff)
malta: Fix regression (i8259 interrupts did not work)
Commit 5632ae46d5bda798e971dae48ebb318ac2c3686a passes the address of i8259 to qemu_irq_proxy. i8259 is an auto variable with undefined value outside of mips_malta_init. This made the interrupt proxy unusable: either QEMU crashes, or the interrupt handler was not called. Ethernet for example no longer worked with MIPS Malta. v2: While v1 used a static variable for i8259, this patch introduces a qdev for the malta machine. i8259 is now part of the device status. This is a minimal qdev implementation to keep the patch small. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> (cherry picked from commit e9b40fd34ceb23461083d505a444a389c094455b)
Diffstat (limited to 'qemu-timer.h')
0 files changed, 0 insertions, 0 deletions