diff options
author | Danny Holman <dholman@gymli.xyz> | 2021-01-20 21:31:23 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.xyz> | 2021-01-20 21:31:23 -0600 |
commit | 7a6cf86e4dd3094ed5aa41bf76d93c28c89e85e7 (patch) | |
tree | dd076e1a2307b8f2d5ee26b8df118ba45604ad1d /include | |
parent | ec075eefe8733bb788627f5e5b5bf467de7a4c05 (diff) |
i386: add serial port support
Add support for serial communication in the i386 architecture.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel/serial.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/kernel/serial.h b/include/kernel/serial.h new file mode 100644 index 0000000..a3a54b0 --- /dev/null +++ b/include/kernel/serial.h @@ -0,0 +1,8 @@ +#ifndef SERIAL_H +#define SERIAL_H + +static int serial_init(void); +char read_serial(void); +void write_serial(char a); + +#endif |