Changeset 973be64e in mainline for arch/mips32/include/console.h


Ignore:
Timestamp:
2005-12-10T00:19:57Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fcfac420
Parents:
705b4149
Message:

Added generic exc_register/exc_dispatch functions,
copied from ia32 architecture. Currently only mips32 uses them.

The chardev_t can now be both input & output device (was
needed for serial driver).

Broken other architectures - ia64, sparc, powerpc will not compile.

Mips32 supports input on all msim, gxemul, indy(tested emulation
in gxemul, loses characters), simics. Simics serial line
is done using polling, I was unable to make it produce
an interrupt when the key was pressed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/include/console.h

    r705b4149 r973be64e  
    3131
    3232
    33 #define VIDEORAM        0xB0000000
    34 
    35 #define SERIAL_PORT_BASE        ((char *) 0xB80003f8 )
    36 #define SERIAL_LSR              ((char *) (SERIAL_PORT_BASE + 5))
    37 #define TRANSMIT_EMPTY_BIT      5         
    38 
    3933void console_init(void);
    4034
Note: See TracChangeset for help on using the changeset viewer.