summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.xyz>2021-01-20 21:31:23 -0600
committerDanny Holman <dholman@gymli.xyz>2021-01-20 21:31:23 -0600
commit7a6cf86e4dd3094ed5aa41bf76d93c28c89e85e7 (patch)
treedd076e1a2307b8f2d5ee26b8df118ba45604ad1d /kernel
parentinclude: append "_H" to include guards (diff)
downloadbox-7a6cf86e4dd3094ed5aa41bf76d93c28c89e85e7.tar.gz
box-7a6cf86e4dd3094ed5aa41bf76d93c28c89e85e7.tar.zst
box-7a6cf86e4dd3094ed5aa41bf76d93c28c89e85e7.zip
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 '')
-rw-r--r--kernel/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/init.c b/kernel/init.c
index 576b7f4..ed6d1a7 100644
--- a/kernel/init.c
+++ b/kernel/init.c
@@ -3,5 +3,6 @@
void kernel_main(void) {
tty_init();
- printf("Hello world %x", 100);
+ serial_init();
+ printf("Hello world\n");
}