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


Ignore:
Timestamp:
2005-12-10T00:19:57Z (20 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/drivers/arc.h

    r705b4149 r973be64e  
    3131
    3232#include <arch/types.h>
     33#include <console/chardev.h>
    3334
    3435#define ARC_BASE_ADDR 0x1000;
     
    213214extern void arc_print_memory_map(void);
    214215extern int arc_enabled(void);
    215 extern void arc_putchar(char ch);
    216216extern void arc_print_devices(void);
    217 extern int arc_getchar(void);
    218217void arc_frame_init(void);
     218chardev_t * arc_console(void);
    219219
    220220#endif
Note: See TracChangeset for help on using the changeset viewer.