hw/intc/i8259: Make using the isa_pic singleton more type-safe
commit2aaf0ec7ff239523ce2c8d913b120202c219af3e
authorBernhard Beschow <shentey@gmail.com>
Mon, 9 Jan 2023 17:23:22 +0000 (9 18:23 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Jan 2023 15:22:57 +0000 (13 16:22 +0100)
treef25f7d6d5f303aec64971b02321c531b439f08be
parentf0712099a29aba335fd1dbf4b19811ad0f57d095
hw/intc/i8259: Make using the isa_pic singleton more type-safe

This even spares some casts in hot code paths along the way.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230109172347.1830-10-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/intc/i8259.c
include/hw/intc/i8259.h
include/qemu/typedefs.h