Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-11 Thread Mark Cave-Ayland
On 11/12/2022 10:27, Bernhard Beschow wrote: Am 7. Dezember 2022 17:47:48 UTC schrieb Mark Cave-Ayland : On 07/12/2022 16:20, Bernhard Beschow wrote: Am 7. Dezember 2022 15:29:00 UTC schrieb Mark Cave-Ayland : On 06/12/2022 20:06, Thomas Huth wrote: The only code that is really, really t

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-11 Thread Bernhard Beschow
Am 9. Dezember 2022 09:00:56 UTC schrieb Thomas Huth : >On 07/12/2022 15.47, Bernhard Beschow wrote: >> >> >> Am 6. Dezember 2022 20:06:41 UTC schrieb Thomas Huth : >>> The only code that is really, really target dependent is the apic-related >>> code in rtc_policy_slew_deliver_irq(). By movin

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-11 Thread Bernhard Beschow
Am 7. Dezember 2022 17:47:48 UTC schrieb Mark Cave-Ayland : >On 07/12/2022 16:20, Bernhard Beschow wrote: > >> Am 7. Dezember 2022 15:29:00 UTC schrieb Mark Cave-Ayland >> : >>> On 06/12/2022 20:06, Thomas Huth wrote: >>> The only code that is really, really target dependent is the apic-rel

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-09 Thread Thomas Huth
On 07/12/2022 16.29, Mark Cave-Ayland wrote: On 06/12/2022 20:06, Thomas Huth wrote: The only code that is really, really target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ folder (renamed to rtc_apic_policy_slew_deliver_irq()) and

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-09 Thread Thomas Huth
On 07/12/2022 15.47, Bernhard Beschow wrote: Am 6. Dezember 2022 20:06:41 UTC schrieb Thomas Huth : The only code that is really, really target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ folder (renamed to rtc_apic_policy_slew_del

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-07 Thread Mark Cave-Ayland
On 07/12/2022 16:20, Bernhard Beschow wrote: Am 7. Dezember 2022 15:29:00 UTC schrieb Mark Cave-Ayland : On 06/12/2022 20:06, Thomas Huth wrote: The only code that is really, really target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i3

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-07 Thread Bernhard Beschow
Am 7. Dezember 2022 15:29:00 UTC schrieb Mark Cave-Ayland : >On 06/12/2022 20:06, Thomas Huth wrote: > >> The only code that is really, really target dependent is the apic-related >> code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ >> folder (renamed to rtc_apic_poli

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-07 Thread Bernhard Beschow
Am 7. Dezember 2022 08:43:31 UTC schrieb Thomas Huth : >On 07/12/2022 00.38, Bernhard Beschow wrote: >> >> >> Am 6. Dezember 2022 20:06:41 UTC schrieb Thomas Huth : >>> The only code that is really, really target dependent is the apic-related >>> code in rtc_policy_slew_deliver_irq(). By movin

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-07 Thread Mark Cave-Ayland
On 06/12/2022 20:06, Thomas Huth wrote: The only code that is really, really target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ folder (renamed to rtc_apic_policy_slew_deliver_irq()) and passing this function as parameter to mc146818

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-07 Thread Bernhard Beschow
Am 6. Dezember 2022 20:06:41 UTC schrieb Thomas Huth : >The only code that is really, really target dependent is the apic-related >code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ >folder (renamed to rtc_apic_policy_slew_deliver_irq()) and passing this >function as pa

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-07 Thread Bernhard Beschow
Am 6. Dezember 2022 20:06:41 UTC schrieb Thomas Huth : >The only code that is really, really target dependent is the apic-related >code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ >folder (renamed to rtc_apic_policy_slew_deliver_irq()) and passing this >function as pa

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-07 Thread Thomas Huth
On 07/12/2022 00.12, BALATON Zoltan wrote: On Tue, 6 Dec 2022, Thomas Huth wrote: The only code that is really, really target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ folder (renamed to rtc_apic_policy_slew_deliver_irq()) and pass

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-07 Thread Thomas Huth
On 07/12/2022 00.38, Bernhard Beschow wrote: Am 6. Dezember 2022 20:06:41 UTC schrieb Thomas Huth : The only code that is really, really target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ folder (renamed to rtc_apic_policy_slew_del

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-06 Thread Bernhard Beschow
Am 6. Dezember 2022 20:06:41 UTC schrieb Thomas Huth : >The only code that is really, really target dependent is the apic-related >code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ >folder (renamed to rtc_apic_policy_slew_deliver_irq()) and passing this >function as pa

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-06 Thread BALATON Zoltan
On Tue, 6 Dec 2022, Thomas Huth wrote: The only code that is really, really target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ folder (renamed to rtc_apic_policy_slew_deliver_irq()) and passing this function as parameter to mc146818_r

Re: [PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-06 Thread Philippe Mathieu-Daudé
On 6/12/22 21:06, Thomas Huth wrote: The only code that is really, really target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ folder (renamed to rtc_apic_policy_slew_deliver_irq()) and passing this function as parameter to mc146818_rtc

[PATCH for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-06 Thread Thomas Huth
The only code that is really, really target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). By moving this code into the hw/i386/ folder (renamed to rtc_apic_policy_slew_deliver_irq()) and passing this function as parameter to mc146818_rtc_init(), we can make the RTC completely