]> xenbits.xensource.com Git - qemu-upstream-4.4-testing.git/commit
PPC: Fix dma interrupt
authorAmadeusz Sławiński <amade@asmblr.net>
Thu, 21 Feb 2013 07:34:10 +0000 (07:34 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 8 Mar 2013 20:04:53 +0000 (21:04 +0100)
commite13da40448fabb0829d75b01dc57da5f44f391b3
tree9e2b2de026b83283c5bff85b186760b08dd1b219
parentedbe35e0319c15ed2f373bcca626cbb4361f87c8
PPC: Fix dma interrupt

In openbios (drivers/ide.c) they are set to

0000000d 00000000 00000002 00000000
0000000e 00000000 00000003 00000000
0000000f 00000000 00000004 00000000
(The last one seems to be not implemented in qemu)

It follows convention of how they are set on real machines,
both ide and dma ones are increased

Real machine one:
http://web.archive.org/web/20090107151044/http://penguinppc.org/historical/dev-trees-html/g4_agp_500_2.html
00000013 00000001 0000000b 00000000
00000014 00000001 0000000c 00000000
00000015 00000001 0000000d 00000000

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/mac_newworld.c