aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/kernel')
-rw-r--r--arch/x86_64/src/kernel/main.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp
index 8ca577a..a5ffbb4 100644
--- a/arch/x86_64/src/kernel/main.cpp
+++ b/arch/x86_64/src/kernel/main.cpp
@@ -32,10 +32,12 @@ namespace teachos::arch::kernel
uint32_t size = tag->size;
uint32_t mem_lower = *(uint32_t *)(&size + 32);
uint32_t mem_upper = *(uint32_t *)(&size + 64);
- if (mem_lower > mem_upper)
- {
- }
- text::write("BUFFER IS HERE", text::common_attributes::green_on_black);
+
+ text::write_number(mem_lower, text::common_attributes::green_on_black);
+ text::write("Lower memory bound", text::common_attributes::green_on_black);
+ text::write_number(mem_lower, text::common_attributes::green_on_black);
+ text::write("Upper memory bound", text::common_attributes::green_on_black);
+ text::write_number(mem_upper, text::common_attributes::green_on_black);
break;
}
}