mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 13:21:56 +00:00
The existing local APIC timer driver (loapic_timer.c) has bitrotted and doesn't support TICKLESS_KERNEL, which is the preferred mode of operation. This patch introduces a completely new driver, called the APIC timer driver - the name is changed to allow the drivers to continue to coexist in the short term, and also because "APIC timer" isn't ambiguous (the I/O APICs do not have timers). This driver makes no attempt to work with the MVIC timer as the previous version did, because MVIC support is deprecated. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
17 lines
864 B
CMake
17 lines
864 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_sources( sys_clock_init.c)
|
|
zephyr_sources_ifdef(CONFIG_HPET_TIMER hpet.c)
|
|
zephyr_sources_ifdef(CONFIG_ARCV2_TIMER arcv2_timer0.c)
|
|
zephyr_sources_if_kconfig( loapic_timer.c)
|
|
zephyr_sources_if_kconfig( apic_timer.c)
|
|
zephyr_sources_ifdef(CONFIG_ALTERA_AVALON_TIMER altera_avalon_timer_hal.c)
|
|
zephyr_sources_if_kconfig( nrf_rtc_timer.c)
|
|
zephyr_sources_if_kconfig( riscv_machine_timer.c)
|
|
zephyr_sources_if_kconfig( rv32m1_lptmr_timer.c)
|
|
zephyr_sources_if_kconfig( cortex_m_systick.c)
|
|
zephyr_sources_ifdef(CONFIG_XTENSA_TIMER xtensa_sys_timer.c)
|
|
zephyr_sources_if_kconfig( native_posix_timer.c)
|
|
zephyr_sources_if_kconfig( sam0_rtc_timer.c)
|
|
zephyr_sources_if_kconfig( litex_timer.c)
|