diff options
| author | manuel <manuel@mausz.at> | 2012-03-26 12:54:45 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-03-26 12:54:45 +0200 |
| commit | b5f0874cd96ee2a62aabc645b9626c2749cb6a01 (patch) | |
| tree | 1262e4bbe0634de6650be130c36e0538240f4cbf /pintos-progos/devices/input.h | |
| download | progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.gz progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.bz2 progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.zip | |
initial pintos checkin
Diffstat (limited to 'pintos-progos/devices/input.h')
| -rw-r--r-- | pintos-progos/devices/input.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pintos-progos/devices/input.h b/pintos-progos/devices/input.h new file mode 100644 index 0000000..a2f50e9 --- /dev/null +++ b/pintos-progos/devices/input.h | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #ifndef DEVICES_INPUT_H | ||
| 2 | #define DEVICES_INPUT_H | ||
| 3 | |||
| 4 | #include <stdbool.h> | ||
| 5 | #include <stdint.h> | ||
| 6 | |||
| 7 | void input_init (void); | ||
| 8 | void input_putc (uint8_t); | ||
| 9 | uint8_t input_getc (void); | ||
| 10 | bool input_full (void); | ||
| 11 | |||
| 12 | #endif /* devices/input.h */ | ||
