ioapic: introduce ioapic_entry_parse() helper
commitc15fa0bea982766c5c3de28d1abd245e3c44a17f
authorPeter Xu <peterx@redhat.com>
Thu, 14 Jul 2016 05:56:24 +0000 (14 13:56 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Jul 2016 17:43:49 +0000 (21 20:43 +0300)
tree2da16a4148656c281266c12b34ea199e749e8a43
parentcb135f59b8059c3a372652377ef92fa4a49ad550
ioapic: introduce ioapic_entry_parse() helper

Abstract IOAPIC entry parsing logic into a helper function.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/intc/ioapic.c