Changeset 411b6a6 in mainline for kernel/arch/amd64/src/amd64.c
- Timestamp:
- 2009-03-07T16:08:40Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4c84368e
- Parents:
- e06da7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/amd64.c
re06da7e r411b6a6 44 44 #include <genarch/drivers/ega/ega.h> 45 45 #include <arch/drivers/vesa.h> 46 #include <genarch/kbd/i8042.h> 46 #include <genarch/drivers/i8042/i8042.h> 47 #include <genarch/kbrd/kbrd.h> 47 48 #include <arch/drivers/i8254.h> 48 49 #include <arch/drivers/i8259.h> … … 190 191 { 191 192 devno_t devno = device_assign_devno(); 192 /* keyboard controller */ 193 (void) i8042_init((i8042_t *) I8042_BASE, devno, IRQ_KBD); 193 194 /* 195 * Initialize the keyboard module and conect it to stdin. Then 196 * initialize the i8042 controller and connect it to kbrdin. Enable 197 * keyboard interrupts. 198 */ 199 kbrd_init(stdin); 200 (void) i8042_init((i8042_t *) I8042_BASE, devno, IRQ_KBD, &kbrdin); 201 trap_virtual_enable_irqs(1 << IRQ_KBD); 194 202 195 203 /*
Note:
See TracChangeset
for help on using the changeset viewer.