port92: handle A20 IRQ as GPIO
commitd812b3d68ddf0efe91a088ecc8b177865b0bab8d
authorEfimov Vasily <real@ispras.ru>
Wed, 22 Jun 2016 12:24:52 +0000 (22 15:24 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Jun 2016 12:03:46 +0000 (29 14:03 +0200)
tree9c3e02996d8da6473a836155eec6f0902d4cd9aa
parent3115b9e2d286188a54d6f415186ae556046b68a3
port92: handle A20 IRQ as GPIO

The port92 device has outgouing IRQ line A20. Currently the IRQ is referenced
by a pointer which normally is set during machine initialization. The
pointer is never changed at runtime. Hence, common GPIO model can be applied
to A20 IRQ line. Note that checking for IRQ to be connected as in
previous version of code is not required qemu_set_irq will do it.

Signed-off-by: Efimov Vasily <real@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc.c
include/hw/i386/pc.h