Changeset a7fdfe1 in mainline
- Timestamp:
- 2005-11-22T21:32:11Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2677758
- Parents:
- 1bdaa3f
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/drivers/i8042.c
r1bdaa3f ra7fdfe1 52 52 #define LOCKED_CAPSLOCK (1<<0) 53 53 54 static spinlock_t keylock; /**< keylock protects keyflags and lockflags. */54 static spinlock_t keylock; /**< keylock protects keyflags and lockflags. */ 55 55 static volatile int keyflags; /**< Tracking of multiple keypresses. */ 56 static volatile int lockflags; /**< Tracking of multiple lock keys keypresses. */56 static volatile int lockflags; /**< Tracking of multiple keys lockings. */ 57 57 58 58 /** Primary meaning of scancodes. */ -
arch/mips32/Makefile.inc
r1bdaa3f ra7fdfe1 127 127 arch/$(ARCH)/src/fpu_context.c \ 128 128 arch/$(ARCH)/src/fmath.c \ 129 arch/$(ARCH)/src/drivers/arc.c 129 arch/$(ARCH)/src/drivers/arc.c \ 130 arch/$(ARCH)/src/drivers/keyboard.c -
arch/mips32/include/interrupt.h
r1bdaa3f ra7fdfe1 32 32 #include <arch/exception.h> 33 33 34 #define TIMER_INTERRUPT 7 34 #define IRQ3 3 35 #define IRQ7 7 36 37 #define KEYBOARD_IRQ IRQ3 38 #define TIMER_IRQ IRQ7 35 39 36 40 extern void interrupt(struct exception_regdump *pstate); -
arch/mips32/src/interrupt.c
r1bdaa3f ra7fdfe1 36 36 #include <symtab.h> 37 37 #include <arch/drivers/arc.h> 38 #include <arch/drivers/keyboard.h> 38 39 39 40 static void print_regdump(struct exception_regdump *pstate) … … 111 112 break; 112 113 case 2: /* IRQ0 */ 113 case 3: /* IRQ1 */ 114 case KEYBOARD_IRQ: 115 keyboard(); 116 break; 114 117 case 4: /* IRQ2 */ 115 118 case 5: /* IRQ3 */ … … 119 122 panic("unhandled interrupt %d\n", i); 120 123 break; 121 case TIMER_I NTERRUPT:124 case TIMER_IRQ: 122 125 /* clear timer interrupt & set new */ 123 126 cp0_compare_write(cp0_count_read() + cp0_compare_value); -
arch/mips32/src/mips32.c
r1bdaa3f ra7fdfe1 75 75 * Unmask hardware clock interrupt. 76 76 */ 77 cp0_unmask_int(TIMER_I NTERRUPT);77 cp0_unmask_int(TIMER_IRQ); 78 78 79 79 /* -
contrib/conf/msim.conf
r1bdaa3f ra7fdfe1 11 11 12 12 add dprinter printer 0x10000000 13 add dkeyboard keyboard 0x10000004 3
Note:
See TracChangeset
for help on using the changeset viewer.