diff options
author | Marvin Borner | 2021-05-20 20:41:24 +0200 |
---|---|---|
committer | Marvin Borner | 2021-05-20 20:41:24 +0200 |
commit | 298aaf63f15350e6248d5a96e8c6a63b0ec93e0f (patch) | |
tree | 952331f841b4d02d0b7189da716648df5cdb4d8e /kernel/inc/drivers/serial.h | |
parent | b22346a9b830b642e684e13cf4946d8ef8d8e1ca (diff) |
Major restructuring
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 |