Changeset 8c84448 in mainline
- Timestamp:
- 2006-10-27T09:00:38Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cea12e9
- Parents:
- 8440473
- Location:
- kernel/arch/mips32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/interrupt.h
r8440473 r8c84448 41 41 #define IVT_FIRST 0 42 42 43 extern function timer_fnc;43 extern function virtual_timer_fnc; 44 44 45 45 extern void interrupt_init(void); -
kernel/arch/mips32/src/drivers/arc.c
r8440473 r8c84448 359 359 360 360 chardev_initialize("arc_console", &console, &arc_ops); 361 timer_fnc = &arc_keyboard_poll;361 virtual_timer_fnc = &arc_keyboard_poll; 362 362 stdin = &console; 363 363 stdout = &console; -
kernel/arch/mips32/src/drivers/serial.c
r8440473 r8c84448 150 150 * don't work on simics 151 151 */ 152 timer_fnc = &serial_handler;152 virtual_timer_fnc = &serial_handler; 153 153 154 154 stdin = &console; -
kernel/arch/mips32/src/interrupt.c
r8440473 r8c84448 47 47 #define TIMER_IRQ 7 48 48 49 function timer_fnc = NULL;49 function virtual_timer_fnc = NULL; 50 50 static irq_t timer_irq; 51 51 … … 117 117 clock(); 118 118 119 if ( timer_fnc != NULL)120 timer_fnc();119 if (virtual_timer_fnc != NULL) 120 virtual_timer_fnc(); 121 121 } 122 122
Note:
See TracChangeset
for help on using the changeset viewer.