apb: split pci_pbm_map_irq() into separate functions for bus A and bus B
commitd9e4d6829c14d3e3d71906b0dc7e7ec9a77654bf
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 21 Dec 2017 07:32:57 +0000 (21 07:32 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 9 Jan 2018 21:48:19 +0000 (9 21:48 +0000)
tree860e1b98fd8150bfbf9faacb032b2954d32dc395
parentcacd05805eeea393ec929fe841f9a68aa2140d92
apb: split pci_pbm_map_irq() into separate functions for bus A and bus B

After the previous refactoring it is now possible to use separate functions
to improve the clarity of the interrupt paths.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
hw/pci-host/apb.c