diff options
| author | Thomas Huth <thuth@redhat.com> | 2023-01-10 10:53:50 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-01-13 16:22:57 +0100 |
| commit | e896d849331eb853cf3b7df6a24be279ae9a421d (patch) | |
| tree | 73b6fd10653b5f881dc22a99f35757beb1344eaf /scripts/signrom.py | |
| parent | aae167211fb326784b323b87a0e4c0fa832940b3 (diff) | |
| download | focaccia-qemu-e896d849331eb853cf3b7df6a24be279ae9a421d.tar.gz focaccia-qemu-e896d849331eb853cf3b7df6a24be279ae9a421d.zip | |
hw/rtc/mc146818rtc: Make the mc146818 RTC device target independent
The only reason for this code being target dependent was the IRQ-counting related code in rtc_policy_slew_deliver_irq(). Since these functions have been moved into a new, separate file (kvm_irqcount.c) which is now always compiled and linked if necessary, we can get rid of the #ifdef TARGET_I386 switches in mc146818rtc.c and declare it in the softmmu_ss instead of specific_ss, so that the code only gets compiled once for all targets. 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-4-thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'scripts/signrom.py')
0 files changed, 0 insertions, 0 deletions