zephyr/drivers/timer
Andy Ross 564f59060c kernel: SMP timer integration
In SMP, the system timer is used for timeslicing on auxiliary CPUs,
but the base system timekeeping via _nano_sys_clock_tick_announce() is
still done on CPU0 only (because the framework isn't prepared for
asynchronous notification yet).  Skip processing on CPU1+.

Also, due to a hardware interaction* that is difficult to work around,
timer initialization on the auxiliary CPUs is done at the very end of
the CPU bringup, just before the swap into the scheduler.  A
smp_timer_init() API has been added for this purpose.

* On ESP-32, enabling the timer seems to result in a near-synchronous
  interrupt being delivered despite my best attempts to keep it
  masked, then blowing things up because the CPU record isn't set up
  to handle it yet.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-02-16 10:44:29 -05:00
..
altera_avalon_timer_hal.c drivers: timer: Add Altera shim driver for timer soft IP 2017-11-17 07:46:40 -05:00
arcv2_timer0.c cleanup: rename fiber/task -> thread 2017-10-30 18:41:15 -04:00
CMakeLists.txt board: posix: add native_posix board definition 2017-12-27 14:16:08 -05:00
cortex_m_systick.c tests: benchmark: timing_info: Change API/variable Name. 2017-08-31 14:25:31 -04:00
hpet.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
Kconfig kconfig: fix help text indentation 2018-01-08 08:08:45 -05:00
loapic_timer.c jailhouse: add support for x2APIC mode for all LOAPIC accesses 2017-11-07 08:58:49 -05:00
native_posix_timer.c native: timer bugfix in tickless mode part 2018-02-08 15:56:48 -08:00
nrf_rtc_timer.c timer: Corrected types in nRF system timer functions 2018-02-02 15:28:32 +01:00
pulpino_timer.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
riscv_machine_timer.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
sys_clock_init.c drivers: timer: init earlier in boot sequence 2017-07-10 11:44:56 -07:00
xtensa_sys_timer.c kernel: SMP timer integration 2018-02-16 10:44:29 -05:00