diff options
Diffstat (limited to 'kernel/inc/drivers/serial.h')
-rw-r--r-- | kernel/inc/drivers/serial.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/inc/drivers/serial.h b/kernel/inc/drivers/serial.h new file mode 100644 index 0000000..72c9dc1 --- /dev/null +++ b/kernel/inc/drivers/serial.h @@ -0,0 +1,14 @@ +// MIT License, Copyright (c) 2020 Marvin Borner + +#ifndef SERIAL_H +#define SERIAL_H + +#include <def.h> + +void serial_install(void); +void serial_enable(void); +void serial_disable(void); +void serial_print(const char *data) NONNULL; +void serial_put(char ch); + +#endif |