summaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* arch: i386: make serial_writestring inlineDanny Holman2022-03-221-1/+7
| | | | | | | | The serial_writestring function is small enough and platform-agnostic, and therefore it should be moved into the main serial header and marked as inline. Signed-off-by: Danny Holman <dholman@gymli.org>
* io: prefix a 'k' to print functionsDanny Holman2021-07-201-2/+2
| | | | Add a 'k' prefix to the kernel versions of the printf family.
* serial: add serial_writestring as a functionDanny Holman2021-01-201-0/+1
| | | | | | | Add a function in the serial interface that writes an entire string to the serial line. Signed-off-by: Danny Holman <dholman@gymli.xyz>
* serial: don't declare serial_init as staticDanny Holman2021-01-201-1/+1
| | | | | | | | The function serial_init should not be declared as static. This function could change under a different architecture and should be defined with the target architecture. Signed-off-by: Danny Holman <dholman@gymli.xyz>
* i386: add serial port supportDanny Holman2021-01-201-0/+8
| | | | | | Add support for serial communication in the i386 architecture. Signed-off-by: Danny Holman <dholman@gymli.xyz>
* include: append "_H" to include guardsDanny Holman2021-01-201-2/+2
| | | | | | Add a "_H" to the end of the include guards in tty.h. Signed-off-by: Danny Holman <dholman@gymli.xyz>
* include: remove an include to the tty layer in ioDanny Holman2021-01-171-1/+0
| | | | | | Remove the include to the tty layer in io.h. Signed-off-by: Danny Holman <dholman@gymli.xyz>
* kernel: implement a basic printf functionDanny Holman2021-01-171-0/+10
| | | | | | Implement a basic printf function using primitives from the TTY library. Signed-off-by: Danny Holman <dholman@gymli.xyz>
* include: create basic C library functionsDanny Holman2021-01-172-0/+23
Create the basic C library functions for use inside the kernel. Signed-off-by: Danny Holman <dholman@gymli.xyz>