aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-12-17 08:24:15 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-12-17 08:24:15 +0000
commit568d0fd25f4ab12b183e230210d68252031bfa18 (patch)
tree9ef0092418458d1e1e7ceb0dba7370ba2ff577fc /arch
parent4ff0477e844fe13620b02c197a8db4c01809399f (diff)
downloadteachos-568d0fd25f4ab12b183e230210d68252031bfa18.tar.xz
teachos-568d0fd25f4ab12b183e230210d68252031bfa18.zip
Improve log messages
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/src/kernel/main.cpp3
-rw-r--r--arch/x86_64/src/memory/main.cpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp
index c0fcc27..a8cdc3a 100644
--- a/arch/x86_64/src/kernel/main.cpp
+++ b/arch/x86_64/src/kernel/main.cpp
@@ -37,7 +37,7 @@ namespace teachos::arch::kernel
auto test8 = memory::multiboot::read_multiboot2();
if (test6 && test7 && test8.kernel_end)
{
- video::vga::text::write("Kernel remapping successfull", video::vga::text::common_attributes::green_on_black);
+ video::vga::text::write("Heap test successfull", video::vga::text::common_attributes::green_on_black);
}
test2->kernel_end = 2000;
test2->kernel_start = 1000;
@@ -61,6 +61,7 @@ namespace teachos::arch::kernel
video::vga::text::clear();
video::vga::text::cursor(false);
video::vga::text::write("TeachOS is starting up...", video::vga::text::common_attributes::green_on_black);
+ video::vga::text::newline();
memory::initialize_memory_management();
diff --git a/arch/x86_64/src/memory/main.cpp b/arch/x86_64/src/memory/main.cpp
index 2f01c5e..5290061 100644
--- a/arch/x86_64/src/memory/main.cpp
+++ b/arch/x86_64/src/memory/main.cpp
@@ -44,8 +44,10 @@ namespace teachos::arch::memory
paging::kernel_mapper kernel(allocator, memory_information);
auto & active_table = kernel.remap_kernel();
video::vga::text::write("Kernel remapping successfull", video::vga::text::common_attributes::green_on_black);
+ video::vga::text::newline();
remap_heap(allocator, active_table);
video::vga::text::write("Heap remapping successfull", video::vga::text::common_attributes::green_on_black);
+ video::vga::text::newline();
}
-} // namespace teachos::arch::memory \ No newline at end of file
+} // namespace teachos::arch::memory