Changeset 973be64e in mainline for generic/include/console/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
  • generic/include/console/console.h

    r705b4149 r973be64e  
    3434
    3535extern chardev_t *stdin;
     36extern chardev_t *stdout;
    3637
    3738extern __u8 getc(chardev_t *chardev);
    3839extern count_t gets(chardev_t *chardev, char *buf, size_t buflen);
     40extern void putchar(char c);
    3941
    4042#endif /* __CHARDEV_H__ */
Note: See TracChangeset for help on using the changeset viewer.