Files
2020-01-03 17:25:38 +08:00

12 lines
250 B
C

#include "tos_k.h"
// systick handler
void eclic_mtip_handler() {
port_systick_config((uint32_t)k_cpu_cycle_per_tick);
if (tos_knl_is_running()) {
tos_knl_irq_enter();
tos_tick_handler();
tos_knl_irq_leave();
}
}