summaryrefslogtreecommitdiff
path: root/src/kernel/core
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-18 19:06:35 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-18 19:06:35 +0200
commit478c691187fbc9ba4ccaacf92f57828eef20041c (patch)
tree4cb4b00d7da1fd533cebc347f3641cc0455935f5 /src/kernel/core
parent7e6454020ed1143e05e83a683606f318995458e5 (diff)
downloadTCE-478c691187fbc9ba4ccaacf92f57828eef20041c.tar.gz
TCE-478c691187fbc9ba4ccaacf92f57828eef20041c.zip
Simple shell added. Simple fprintf function added too.
Diffstat (limited to 'src/kernel/core')
-rw-r--r--src/kernel/core/kmain.cpp5
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;