summaryrefslogtreecommitdiff
path: root/src/kernel/mem
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/mem')
-rw-r--r--src/kernel/mem/gdt.c2
-rw-r--r--src/kernel/mem/mem.c2
-rw-r--r--src/kernel/mem/paging.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/mem/gdt.c b/src/kernel/mem/gdt.c
index 18a5fa7..e9a1be5 100644
--- a/src/kernel/mem/gdt.c
+++ b/src/kernel/mem/gdt.c
@@ -54,5 +54,5 @@ void gdt_init() {
gdt_flush((uint32_t)&gdt_ptr);
tss_flush();
- monitor_write("GDT ok\n");
+ monitor_write("[GDT] ");
}
diff --git a/src/kernel/mem/mem.c b/src/kernel/mem/mem.c
index 2f7e1c8..06242a5 100644
--- a/src/kernel/mem/mem.c
+++ b/src/kernel/mem/mem.c
@@ -75,7 +75,7 @@ static struct heap kheap;
void kheap_init() {
heap_create(&kheap, (mem_placementAddr & 0xFFFFF000) + 0x1000, KHEAP_IDXSIZE, KHEAP_INITSIZE, KHEAP_MAXSIZE);
kheap_working = 1;
- monitor_write("Kernel heap ok\n");
+ monitor_write("[KHeap] ");
}
void* kmalloc(size_t size) {
diff --git a/src/kernel/mem/paging.c b/src/kernel/mem/paging.c
index d478e05..8996162 100644
--- a/src/kernel/mem/paging.c
+++ b/src/kernel/mem/paging.c
@@ -45,10 +45,10 @@ void paging_init(size_t totalRam) {
kernel_pagedir->tables[i] = kernel_pagedir->tables[i + 896];
}
- monitor_write("Page dir is at: ");
+ monitor_write("{PD: ");
monitor_writeHex(kernel_pagedir->physicalAddr);
pagedir_switch(kernel_pagedir);
- monitor_write("\nPaging started\n");
+ monitor_write("} [Paging] ");
}
void paging_cleanup() {
@@ -57,7 +57,7 @@ void paging_cleanup() {
kernel_pagedir->tablesPhysical[i] = 0;
kernel_pagedir->tables[i] = 0;
}
- monitor_write("Pages cleaned up\n");
+ monitor_write("[PD Cleanup] ");
}
void pagedir_switch(struct page_directory *pd) {