mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00

Currently we require everywhere that wants to know if there is an HPET device to check for "CONFIG_HPET || CONFIG_X_HPET_RUST". Factor out whether the HPET device is Rust or C into a separate Kconfig stanza, so that CONFIG_HPET means "there is an HPET", and whether this has pulled in CONFIG_X_HPET_RUST or CONFIG_HPET_C is something the rest of QEMU can ignore. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Link: https://lore.kernel.org/r/20250319193110.1565578-3-peter.maydell@linaro.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
67 lines
821 B
Text
67 lines
821 B
Text
config ARM_TIMER
|
|
bool
|
|
select PTIMER
|
|
|
|
config ARM_MPTIMER
|
|
bool
|
|
select PTIMER
|
|
|
|
config A9_GTIMER
|
|
bool
|
|
|
|
config HPET
|
|
bool
|
|
default y if PC
|
|
# The HPET has both a Rust and a C implementation
|
|
select HPET_C if !HAVE_RUST
|
|
select X_HPET_RUST if HAVE_RUST
|
|
|
|
config HPET_C
|
|
bool
|
|
|
|
config I8254
|
|
bool
|
|
depends on ISA_BUS
|
|
|
|
config ALLWINNER_A10_PIT
|
|
bool
|
|
select PTIMER
|
|
|
|
config PXA2XX_TIMER
|
|
bool
|
|
|
|
config SIFIVE_PWM
|
|
bool
|
|
|
|
config STM32F2XX_TIMER
|
|
bool
|
|
|
|
config CMSDK_APB_TIMER
|
|
bool
|
|
select PTIMER
|
|
|
|
config CMSDK_APB_DUALTIMER
|
|
bool
|
|
select PTIMER
|
|
|
|
config SH_TIMER
|
|
bool
|
|
select PTIMER
|
|
|
|
config RENESAS_TMR
|
|
bool
|
|
|
|
config RENESAS_CMT
|
|
bool
|
|
|
|
config SSE_COUNTER
|
|
bool
|
|
|
|
config SSE_TIMER
|
|
bool
|
|
|
|
config STELLARIS_GPTM
|
|
bool
|
|
|
|
config AVR_TIMER16
|
|
bool
|