Changeset af9a7c5 in mainline for arch/mips32/src/drivers/arc.c


Ignore:
Timestamp:
2005-12-12T15:38:44Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
93b84b3
Parents:
c0b7f00
Message:

Small kconsole readline changes.
Some mips tweaks to allow for real keyboard support in indy.

File:
1 edited

Legend:

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

    rc0b7f00 raf9a7c5  
    3636#include <interrupt.h>
    3737#include <align.h>
     38#include <console/console.h>
    3839
    3940/* This is a good joke, SGI HAS different types than NT bioses... */
     
    247248}
    248249
    249 
    250 chardev_t * arc_console(void)
     250void arc_console(void)
    251251{
    252252        kbd_polling_enabled = true;
     
    254254        chardev_initialize("arc_console", &console, &arc_ops);
    255255        old_timer = int_register(TIMER_IRQ, "arc_kb_poll", timer_replace);
    256         return &console;
     256        stdin = &console;
     257        stdout = &console;
    257258}
    258259
Note: See TracChangeset for help on using the changeset viewer.