summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.xyz>2021-01-20 22:51:46 -0600
committerDanny Holman <dholman@gymli.xyz>2021-01-20 22:51:46 -0600
commitdd6656f7132d1727a055035ca94945fa4fbaae58 (patch)
tree4a9a7bf01d6fb582f1aaf7ead9de2af693aa2610 /kernel
parentfd4bd4dabe8011b016e3f8e6c3de5cfe6bc1f41d (diff)
serial: add serial_writestring as a function
Add a function in the serial interface that writes an entire string to the serial line. Signed-off-by: Danny Holman <dholman@gymli.xyz>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/init.c b/kernel/init.c
index b808122..a7a71d6 100644
--- a/kernel/init.c
+++ b/kernel/init.c
@@ -5,5 +5,6 @@
void kernel_main(void) {
tty_init();
serial_init();
+ serial_writestring("Hello world\n");
printf("Hello world\n");
}