summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/arch/i386/tty/tty.c4
-rw-r--r--src/kernel/main.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/tty/tty.c b/src/kernel/arch/i386/tty/tty.c
index 300bbcc..89a8602 100644
--- a/src/kernel/arch/i386/tty/tty.c
+++ b/src/kernel/arch/i386/tty/tty.c
@@ -5,6 +5,10 @@
void tty_init() {
vga_clear();
serial_init();
+
+ // write hearts
+ vga_write("\x03 ", 2);
+ serial_write("<3 ", 3);
}
void tty_write(const char *buf, size_t len) {
diff --git a/src/kernel/main.c b/src/kernel/main.c
index 3fee5c9..7796c44 100644
--- a/src/kernel/main.c
+++ b/src/kernel/main.c
@@ -22,8 +22,6 @@ static void run_init(struct kmain_info *info) {
}
void kmain(struct kmain_info info) {
- tty_const("\x03 ");
-
tty_const("mem...");
mem_init(&info);