63,6 → 63,7 |
#include <console/console.h> |
#include <ddi/irq.h> |
#include <ddi/device.h> |
#include <sysinfo/sysinfo.h> |
|
|
/** Disable I/O on non-privileged levels |
173,9 → 174,17 |
|
void arch_post_smp_init(void) |
{ |
devno_t devno = device_assign_devno(); |
/* keyboard controller */ |
(void) i8042_init((i8042_t *) I8042_BASE, device_assign_devno(), |
IRQ_KBD); |
(void) i8042_init((i8042_t *) I8042_BASE, devno, IRQ_KBD); |
|
/* |
* This is the necessary evil until the userspace driver is entirely |
* self-sufficient. |
*/ |
sysinfo_set_item_val("kbd", NULL, true); |
sysinfo_set_item_val("kbd.devno", NULL, devno); |
sysinfo_set_item_val("kbd.inr", NULL, IRQ_KBD); |
} |
|
void calibrate_delay_loop(void) |