Age | Commit message (Collapse) | Author |
|
Add a function in the serial interface that writes an entire string to
the serial line.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Iterate over a formatted string with an index and strlen instead of
using a non-const pointer. The latter method may result in unsafe memory
conditions.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Keep const pointers const when casting from void to char.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
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>
|
|
Add support for serial communication in the i386 architecture.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add a "_H" to the end of the include guards in tty.h.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Finish implementing the functions from string.h in string.c.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Remove the include to the tty layer in io.h.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Implement a basic printf function using primitives from the TTY library.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add the main initialiazation functions within the main kernel directory.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add implementations for functions declared in string.h.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add support for 32-bit x86 processors, i.e. the 80386 and above.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Create the basic C library functions for use inside the kernel.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|