aboutsummaryrefslogtreecommitdiff
path: root/hw/loader.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-02-09 17:37:04 +0100
committerMichael S. Tsirkin <mst@redhat.com>2010-02-14 16:10:54 +0200
commitfa0be69a175b7d0d6c49ac9e198409ad38a8e359 (patch)
tree4d6faf4d5408e4be5a2897bcde863a85747357cb /hw/loader.c
parent915cd3a90390bd03fdba596b3d85145333e17e13 (diff)
downloadqemu-fa0be69a175b7d0d6c49ac9e198409ad38a8e359.zip
qemu-fa0be69a175b7d0d6c49ac9e198409ad38a8e359.tar.gz
qemu-fa0be69a175b7d0d6c49ac9e198409ad38a8e359.tar.bz2
PPC: Make interrupts work
The interrupt code as is didn't really work for me. I couldn't even convince Linux to take interrupt 9 in an interrupt-map. So let's do this right. Let's map all PCI interrupts to 0x1b - 0x1e. That way we're at least a small step closer to what real hardware does. I also took the interrupt pin to line conversion from OpenBIOS, which at least assures us we're compatible with our firmware :-). A dump of the PCI interrupt-map from a U2 (iBook): 00009000 00000000 00000000 00000000 ff97c528 00000034 00000001 0000d800 00000000 00000000 00000000 ff97c528 0000003f 00000001 0000c000 00000000 00000000 00000000 ff97c528 0000001b 00000001 0000c800 00000000 00000000 00000000 ff97c528 0000001c 00000001 0000d000 00000000 00000000 00000000 ff97c528 0000001d 00000001 Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/loader.c')
0 files changed, 0 insertions, 0 deletions