Rev 1787 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1874 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | 34 | ||
35 | /** @file |
35 | /** @file |
36 | * @ingroup kbdia32 |
36 | * @ingroup kbdia32 |
37 | */ |
37 | */ |
38 | 38 | ||
39 | #ifndef __ia32_KBD_H__ |
39 | #ifndef KBD_ia32_KBD_H_ |
40 | #define __ia32_KBD_H__ |
40 | #define KBD_ia32_KBD_H_ |
41 | 41 | ||
42 | #include <key_buffer.h> |
- | |
43 | #include <ddi.h> |
42 | #include <ddi.h> |
44 | #include <libarch/ddi.h> |
43 | #include <libarch/ddi.h> |
45 | 44 | ||
46 | #define KBD_IRQ 1 |
45 | #define KBD_IRQ 1 |
47 | #define MOUSE_IRQ 12 |
46 | #define MOUSE_IRQ 12 |
Line 71... | Line 70... | ||
71 | static inline void i8042_command_write(u8 command) |
70 | static inline void i8042_command_write(u8 command) |
72 | { |
71 | { |
73 | outb(i8042_STATUS, command); |
72 | outb(i8042_STATUS, command); |
74 | } |
73 | } |
75 | 74 | ||
76 | int kbd_arch_init(void); |
- | |
77 | - | ||
78 | #endif |
75 | #endif |
79 | 76 | ||
80 | /** |
77 | /** |
81 | * @} |
78 | * @} |
82 | */ |
79 | */ |
83 | - |