aboutsummaryrefslogtreecommitdiff
path: root/src/kernel.cc
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-02-11 16:17:53 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-02-11 21:33:21 +0200
commit9a299f2fe91554a1b9d9db402391ae757c591ef8 (patch)
tree2ec839c869316804954e6b09220140346874aa8d /src/kernel.cc
parentGenerate target dependency files (diff)
downloadkernel.cpp-9a299f2fe91554a1b9d9db402391ae757c591ef8.tar.xz
Add comments to explain CGA ports better
Diffstat (limited to 'src/kernel.cc')
-rw-r--r--src/kernel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel.cc b/src/kernel.cc
index 4569107..4c17969 100644
--- a/src/kernel.cc
+++ b/src/kernel.cc
@@ -10,15 +10,15 @@
#include <stdlib.h>
#include <types.h>
+#include "cga.h"
#include "gdt.h"
-#include "vga.h"
extern "C" {
void dump_multiboot(uint32_t mb_magic, uint32_t mb_addr);
void dump_gdt();
void kernel_main([[maybe_unused]] uint32_t mb_magic, [[maybe_unused]] uint32_t mb_addr) {
- VGA terminal;
+ CGA terminal;
Console::set(&terminal);
printk("Hello, kernel World!\n");