]> git.proxmox.com Git - mirror_qemu.git/commit
hw/intc: Extract the IRQ counting functions into a separate file
authorThomas Huth <thuth@redhat.com>
Tue, 10 Jan 2023 09:53:48 +0000 (10:53 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Jan 2023 15:22:57 +0000 (16:22 +0100)
commit2b85e0cda4b066010efda63a2d2359872ba07a04
tree9ce84374c3df2fb86a17e8a2d8362c03a9d7c047
parent2aaf0ec7ff239523ce2c8d913b120202c219af3e
hw/intc: Extract the IRQ counting functions into a separate file

These IRQ counting functions will soon be required in binaries that
do not include the APIC code, too, so let's extract them into a
separate file that can be linked independently of the APIC code.

While we're at it, change the apic_* prefix into kvm_* since the
functions are used from the i8259 PIC (i.e. not the APIC), too.

Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20230110095351.611724-2-thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/kvm/i8259.c
hw/i386/kvm/ioapic.c
hw/intc/apic.c
hw/intc/apic_common.c
hw/intc/kvm_irqcount.c [new file with mode: 0644]
hw/intc/meson.build
hw/intc/trace-events
hw/rtc/mc146818rtc.c
include/hw/i386/apic.h
include/hw/i386/apic_internal.h
include/hw/intc/kvm_irqcount.h [new file with mode: 0644]