qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/6] hw/rtc/mc146818rtc: Add a property for the availability


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 4/6] hw/rtc/mc146818rtc: Add a property for the availability of the slew tick policy
Date: Tue, 3 Jan 2023 14:10:29 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

On 3/1/23 09:47, Thomas Huth wrote:
We want to get rid of the "#ifdef TARGET_I386" statements in the mc146818
code, so we need a different way to decide whether the slew tick policy
is available or not. Introduce a new property "slew-tick-policy-available"
which can be set by the machines that support this tick policy.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
  include/hw/rtc/mc146818rtc.h |  1 +
  hw/i386/pc_piix.c            |  1 +
  hw/isa/lpc_ich9.c            |  1 +
  hw/isa/piix3.c               |  1 +
  hw/rtc/mc146818rtc.c         | 16 ++++++++++------
  5 files changed, 14 insertions(+), 6 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]