Changeset 973be64e in mainline for arch/mips32/include/interrupt.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/interrupt.h

    r705b4149 r973be64e  
    3232#include <arch/exception.h>
    3333
     34#define IVT_ITEMS   32
     35
    3436#define IRQ2    2
    3537#define IRQ3    3
    3638#define IRQ7    7
    3739
    38 #define KEYBOARD_IRQ    IRQ2
    3940#define TIMER_IRQ       IRQ7
    4041
    4142extern void interrupt(struct exception_regdump *pstate);
     43extern void interrupt_init(void);
    4244
    4345#endif
Note: See TracChangeset for help on using the changeset viewer.