Changeset 7688b5d in mainline for kernel/arch/mips32/src/drivers/arc.c


Ignore:
Timestamp:
2006-10-18T09:54:13Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6fb30a1
Parents:
19de05f
Message:

mips32: update for new IRQ subsystem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/drivers/arc.c

    r19de05f r7688b5d  
    354354};
    355355
    356 iroutine old_timer;
    357 /** Do polling on timer interrupt */
    358 static void timer_replace(int n, istate_t *istate)
    359 {
    360         arc_keyboard_poll();
    361         old_timer(n, istate);
    362         arc_keyboard_poll();
    363 }
    364 
    365356void arc_console(void)
    366357{
     
    368359       
    369360        chardev_initialize("arc_console", &console, &arc_ops);
    370         old_timer = int_register(TIMER_IRQ, "arc_kb_poll", timer_replace);
     361        timer_fnc = &arc_keyboard_poll;
    371362        stdin = &console;
    372363        stdout = &console;
Note: See TracChangeset for help on using the changeset viewer.