diff options
Diffstat (limited to 'src/kernel/core')
-rw-r--r-- | src/kernel/core/kmain.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kernel/core/kmain.cpp b/src/kernel/core/kmain.cpp index 96c4050..0aa047a 100644 --- a/src/kernel/core/kmain.cpp +++ b/src/kernel/core/kmain.cpp @@ -55,9 +55,12 @@ extern "C" void kmain(multiboot_info_t* mbd, int32_t magic) { // Init display devices text_display = new vgatxt(dot_dev); dot_dev->add_child("vgatxt", text_display); - ke_vt = new vt(dot_dev, 80, 25); + + ke_vt = new vt(dot_ui, 80, 25); dot_ui->add_child("klog", ke_vt); ke_vt->outputTo(text_display); + home_vt = new vt(dot_ui, 80, 25); + dot_ui->add_child("home", home_vt); // Say hello ke_vt->fgcolor = TC_LIGHTGRAY; |