Revision 10
Working function kbc_test_scan()
keyboard.h | ||
---|---|---|
1 |
#include <lcom/lcf.h> |
|
1 |
#ifndef _KEYBOARD_H |
|
2 |
#define _KEYBOARD_H |
|
2 | 3 |
|
3 |
#include <lcom/lab3.h> |
|
4 | 4 |
|
5 |
#include <lcom/lcf.h> |
|
5 | 6 |
#include <stdbool.h> |
6 | 7 |
#include <stdint.h> |
8 |
|
|
9 |
#include "i8042.h" |
|
7 | 10 |
/** |
8 | 11 |
* @brief Handles keyboard interrupts (C implementation) |
9 | 12 |
* |
... | ... | |
37 | 40 |
* |
38 | 41 |
* @return Return 0 upon success and non-zero otherwise |
39 | 42 |
*/ |
40 |
int(kbc_unsubscribe_int)(); |
|
43 |
int(kbc_unsubscribe_int)(); |
|
44 |
|
|
45 |
#endif /*_KEYBOARD_H */ |
Also available in: Unified diff