1 //---------------------------------------------------------------------------
2 IMPLEMENTATION[ia32 || amd64]:
6 #include "kernel_console.h"
13 /** Slow version of timer interrupt. Activated on every clock tick.
14 Checks if something related to debugging is to do. After returning
15 from this function, the real timer interrupt handler is called.
19 thread_timer_interrupt_slow(void)
21 if (current_cpu() == Cpu_number::boot_cpu())
25 // <ESC> timer hack: check if ESC key hit at keyboard
26 int v = Kconsole::console()->getchar(false);
36 if (Config::serial_esc != Config::SERIAL_NO_ESC)
38 // Here we have to check for serial characters because the
39 // serial interrupt could have an lower priority than a not
40 // acknowledged interrupt. The regular case is to stop when
41 // receiving the serial interrupt.
42 if (Kconsole::console()->char_avail() == 1 && !Vkey::check_())
48 // tell doggy that we are alive