Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1702 | Rev 1780 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | #include <arch/drivers/i8042.h> |
35 | #include <arch/drivers/i8042.h> |
36 | #include <genarch/i8042/i8042.h> |
36 | #include <genarch/i8042/i8042.h> |
37 | #include <arch/types.h> |
37 | #include <arch/types.h> |
38 | #include <arch/mm/page.h> |
38 | #include <arch/mm/page.h> |
39 | 39 | ||
40 | volatile __u8 *kbd_virt_address = NULL; |
40 | volatile uint8_t *kbd_virt_address = NULL; |
41 | 41 | ||
42 | void kbd_init() |
42 | void kbd_init() |
43 | { |
43 | { |
44 | kbd_virt_address = (__u8 *) hw_map(KBD_PHYS_ADDRESS, LAST_REG); |
44 | kbd_virt_address = (uint8_t *) hw_map(KBD_PHYS_ADDRESS, LAST_REG); |
45 | i8042_init(); |
45 | i8042_init(); |
46 | } |
46 | } |
47 | 47 | ||
48 | /** @} |
48 | /** @} |
49 | */ |
49 | */ |