Changeset 705b4149 in mainline
- Timestamp:
- 2005-12-09T18:36:06Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 973be64e
- Parents:
- 939dfd7
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/include/drivers/keyboard.h
r939dfd7 r705b4149 34 34 35 35 /** Address of 'keyboard' device. */ 36 #define KEYBOARD_ADDRESS 0xB000000 436 #define KEYBOARD_ADDRESS 0xB0000000 37 37 38 38 extern void keyboard_init(void); -
arch/mips32/include/interrupt.h
r939dfd7 r705b4149 32 32 #include <arch/exception.h> 33 33 34 #define IRQ2 2 34 35 #define IRQ3 3 35 36 #define IRQ7 7 36 37 37 #define KEYBOARD_IRQ IRQ 338 #define KEYBOARD_IRQ IRQ2 38 39 #define TIMER_IRQ IRQ7 39 40 -
arch/mips32/src/drivers/keyboard.c
r939dfd7 r705b4149 76 76 77 77 ch = *((char *) KEYBOARD_ADDRESS); 78 if (ch =='\r') 79 ch = '\n'; 78 80 chardev_push_character(&kbrd, ch); 79 81 } -
arch/mips32/src/interrupt.c
r939dfd7 r705b4149 111 111 cp0_cause_write(cp0_cause_read() & ~(1 << 9)); /* clear SW1 interrupt */ 112 112 break; 113 case 2: /* IRQ0 */114 113 case KEYBOARD_IRQ: 115 114 keyboard(); 116 115 break; 116 case 3: 117 117 case 4: /* IRQ2 */ 118 118 case 5: /* IRQ3 */ -
contrib/conf/msim.conf
r939dfd7 r705b4149 11 11 12 12 add dprinter printer 0x10000000 13 add dkeyboard keyboard 0x1000000 4 313 add dkeyboard keyboard 0x10000000 2
Note:
See TracChangeset
for help on using the changeset viewer.