zephyr/drivers/timer
Andy Ross eb1ef50b6b arch/xtensa: General cleanup, remove dead code
There was a bunch of dead historical cruft floating around in the
arch/xtensa tree, left over from older code versions.  It's time to do
a cleanup pass.  This is entirely refactoring and size optimization,
no behavior changes on any in-tree devices should be present.

Among the more notable changes:

+ xtensa_context.h offered an elaborate API to deal with a stack frame
  and context layout that we no longer use.

+ xtensa_rtos.h was entirely dead code

+ xtensa_timer.h was a parallel abstraction layer implementing in the
  architecture layer what we're already doing in our timer driver.

+ The architecture thread structs (_callee_saved and _thread_arch)
  aren't used by current code, and had dead fields that were removed.
  Unfortunately for standards compliance and C++ compatibility it's
  not possible to leave an empty struct here, so they have a single
  byte field.

+ xtensa_api.h was really just some interrupt management inlines used
  by irq.h, so fold that code into the outer header.

+ Remove the stale assembly offsets.  This architecture doesn't use
  that facility.

All told, more than a thousand lines have been removed.  Not bad.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-03-08 11:14:27 -05:00
..
CMakeLists.txt driver: timer: npcx: add system kernel timer support. 2021-02-19 22:39:53 -05:00
Kconfig timer: arm: implement arch_busy_wait 2021-03-06 07:36:37 -05:00
Kconfig.stm32_lptim
altera_avalon_timer_hal.c
apic_timer.c
arcv2_timer0.c
arm_arch_timer.c timer: arm: implement smp_timer_init 2021-03-06 07:36:37 -05:00
cavs_timer.c arch/xtensa: General cleanup, remove dead code 2021-03-08 11:14:27 -05:00
cc13x2_cc26x2_rtc_timer.c
cortex_m_systick.c
hpet.c Revert "drivers/timer/hpet: Extend qemu workaround" 2021-03-02 14:51:29 -05:00
ite_it8xxx2_timer.c
legacy_api.h timer: legacy_api: Fix a build dependency in legacy_api header 2021-01-21 17:20:32 -05:00
leon_gptimer.c
litex_timer.c
mchp_xec_rtos_timer.c
native_posix_timer.c
npcx_itim_timer.c driver: itim: npcx: use timeout mechanism instead of unbounded loop. 2021-02-25 02:44:01 -05:00
nrf_rtc_timer.c drivers: timer: nrf_rtc_timer: Increase half tick busy wait 2021-01-10 18:12:57 -05:00
riscv_machine_timer.c drivers: timer: reduce max cycles of riscv machine timer 2021-03-02 11:39:04 -05:00
rv32m1_lptmr_timer.c
sam0_rtc_timer.c
stm32_lptim_timer.c drivers: timer: stm32 lptim fix Potentially overflow 2021-01-27 14:45:20 -05:00
sys_clock_init.c
xlnx_psttc_timer.c
xlnx_psttc_timer_priv.h
xtensa_sys_timer.c arch/xtensa: General cleanup, remove dead code 2021-03-08 11:14:27 -05:00