diff options
author | Benji Dial <Benji3.141@gmail.com> | 2020-08-13 17:58:50 -0400 |
---|---|---|
committer | Benji Dial <Benji3.141@gmail.com> | 2020-08-13 17:58:50 -0400 |
commit | 2ddbeb9f7214f6d3feef651eba83e6a9d120a743 (patch) | |
tree | 10a2aef195e0f40b0e44ffac82dcf60e426c4385 /src/kernel/serial.h | |
parent | 63167f223e1f54910f6b80e698390ee60aec79ee (diff) | |
download | portland-os-2ddbeb9f7214f6d3feef651eba83e6a9d120a743.tar.gz |
lots of progress, including readonly PATA driver and part of FAT16 driver
Diffstat (limited to 'src/kernel/serial.h')
-rw-r--r-- | src/kernel/serial.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/serial.h b/src/kernel/serial.h index bb12edb..2fb21a6 100644 --- a/src/kernel/serial.h +++ b/src/kernel/serial.h @@ -1,14 +1,14 @@ #ifndef SERIAL_H #define SERIAL_H -#include <stdint.h> #include <stdbool.h> +#include <stdint.h> -bool serr(); +bool serr() __attribute__ ((pure)); void init_serial(); void sout(char b); -void soutsz(char *s); -void soutsn(char *s, uint8_t n); +void soutsz(const char *s); +void soutsn(const char *s, uint8_t n); char sin(); void sinsn(char *s, uint8_t n); |