ich9: clean up ich9_lpc_update_pic/ich9_lpc_update_apic and callers
commita94dd6a9d693829bf8fb04cd6d85c797ed90a5d7
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 Jun 2016 15:07:31 +0000 (17 17:07 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Jun 2016 12:03:46 +0000 (29 14:03 +0200)
treee1e6292c20fd298f6a6525b9cb7bb8a1600b8df6
parentf62efcacfab114d0fae016dd9c0cd500f70dd70d
ich9: clean up ich9_lpc_update_pic/ich9_lpc_update_apic and callers

Make ich9_lpc_update_pic take care only of GSIs 0-15, and
ich9_lpc_update_apic take care only of GSIs 16-23.  Assert
that they are called with the correct GSI indices.

Reviewed-by: Efimov Vasily <real@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/isa/lpc_ich9.c