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 <th...@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é <phi...@linaro.org>


Reply via email to