zephyr/drivers/timer
Andy Ross 722a888ef7 timer: Clean up hairy tickless APIs
The tickless driver had a bunch of "hairy" APIs which forced the timer
drivers to do needless low-level accounting for the benefit of the
kernel, all of which then proceeded to implement them via cut and
paste.  Specifically the "program_time" calls forced the driver to
expose to the kernel exactly when the next interrupt was due and how
much time had elapsed, in a parallel API to the existing "what time is
it" and "announce a tick" interrupts that carry the same information.

Remove these from the kernel, replacing them with synthesized logic
written in terms of the simpler APIs.

In some cases there will be a performance impact due to the use of the
64 bit uptime call, but that will go away soon.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-10-16 15:03:10 -04:00
..
altera_avalon_timer_hal.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
arcv2_timer0.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
CMakeLists.txt board: posix: add native_posix board definition 2017-12-27 14:16:08 -05:00
cortex_m_systick.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
hpet.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
Kconfig drivers: timer nRF: simplify kconfig depend 2018-10-15 09:36:37 -04:00
legacy_api.h timer: Clean up hairy tickless APIs 2018-10-16 15:03:10 -04:00
loapic_timer.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
native_posix_timer.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
nrf_rtc_timer.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
pulpino_timer.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
riscv_machine_timer.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
sys_clock_init.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
xtensa_sys_timer.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00