hw/timer: Move HPET_INTCAP definition to "hpet.h"
commite62f8ffb293c1abb8575b33d6a699c3af83f5698
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 13 Feb 2024 12:01:47 +0000 (13 13:01 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 20 Feb 2024 17:34:21 +0000 (20 20:34 +0300)
treec88afa40ec0024465d437e6fb6caa4e2bd6b637c
parent22942c10608adc9054cab01e85a8d2f2bc58b276
hw/timer: Move HPET_INTCAP definition to "hpet.h"

HPET_INTCAP is specific to TYPE_HPET, so define it there.
hpet.c doesn't need to include "hw/i386/pc.h" anymore.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Luc Michel <luc.michel@amd.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/timer/hpet.c
include/hw/i386/pc.h
include/hw/timer/hpet.h