Changeset cea12e9 in mainline for kernel/arch/ia32/src/ia32.c
- Timestamp:
- 2006-10-27T11:13:13Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 16d71f41
- Parents:
- 8c84448
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/ia32.c
r8c84448 rcea12e9 58 58 #include <arch/mm/memory_init.h> 59 59 #include <interrupt.h> 60 #include <ddi/irq.h> 60 61 #include <arch/debugger.h> 61 62 #include <proc/thread.h> 62 63 #include <syscall/syscall.h> 63 64 #include <console/console.h> 65 #include <ddi/device.h> 64 66 65 67 #ifdef CONFIG_SMP … … 72 74 73 75 if (config.cpu_active == 1) { 76 interrupt_init(); 74 77 bios_init(); 75 i8259_init(); /* PIC */76 i8254_init(); /* hard clock */77 78 78 exc_register(VECTOR_SYSCALL, "syscall", (iroutine) syscall); 79 80 #ifdef CONFIG_SMP 81 exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown", 82 (iroutine) tlb_shootdown_ipi); 83 #endif /* CONFIG_SMP */ 79 /* PIC */ 80 i8259_init(); 84 81 } 85 82 } … … 88 85 { 89 86 if (config.cpu_active == 1) { 87 /* Initialize IRQ routing */ 88 irq_init(IRQ_COUNT, IRQ_COUNT); 89 90 /* hard clock */ 91 i8254_init(); 90 92 91 93 #ifdef CONFIG_FB … … 95 97 #endif 96 98 ega_init(); /* video */ 97 98 99 99 100 /* Enable debugger */ … … 127 128 void arch_post_smp_init(void) 128 129 { 129 i8042_init(); /* keyboard controller */ 130 /* keyboard controller */ 131 i8042_init(device_assign_devno(), IRQ_KBD); 130 132 } 131 133
Note:
See TracChangeset
for help on using the changeset viewer.