diff options
Diffstat (limited to 'include/io.h')
| -rw-r--r-- | include/io.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/io.h b/include/io.h new file mode 100644 index 0000000..ed71e6f --- /dev/null +++ b/include/io.h @@ -0,0 +1,13 @@ +#include <stdint.h> + +#ifndef IO_H +#define IO_H + +uint8_t inportb(uint16_t port); +void outportb(uint16_t port, uint8_t data); +void init_serial(); +void serial_putc(char c); +void serial_puts(const char* s); +void serial_puthex(uint32_t h); + +#endif // IO_H
\ No newline at end of file |
