/************************************************************************** * * Interrupt handlers. * **************************************************************************/ static void pc_generic_frame_interrupt(void (*pc_timer)(void)) { if (pc_timer) pc_timer(); pc_keyboard(); }
static TIMER_CALLBACK( pc_keyb_timer ) { if ( pc_keyb.on ) { pc_keyboard(); } else { /* Clock has been low for more than 5 msec, start diagnostic test */ at_keyboard_reset(); pc_keyb.self_test = 1; } }