summaryrefslogtreecommitdiff
path: root/src/kernel/mem/mem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/mem/mem.cpp')
-rw-r--r--src/kernel/mem/mem.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/kernel/mem/mem.cpp b/src/kernel/mem/mem.cpp
index 5e04de3..dfdd5dd 100644
--- a/src/kernel/mem/mem.cpp
+++ b/src/kernel/mem/mem.cpp
@@ -1,6 +1,5 @@
#include "mem.h"
#include <core/sys.h>
-#include <core/monitor.h>
#include "paging.h"
#include <config.h>
@@ -88,12 +87,6 @@ void* ksbrk(size_t size) {
size_t tmp = mem_placementAddr;
size_t er_begin, er_end, i;
- /* (DBG) monitor_write("<ksbrk ");
- monitor_writeHex(size);
- monitor_write(":");
- monitor_writeHex(tmp);
- monitor_write("> "); */
-
mem_placementAddr += size;
if (_no_more_ksbrk) { // paging enabled, we must allocate these pages
@@ -125,10 +118,6 @@ void* ksbrk(size_t size) {
}
void kbrk(void* ptr) {
- monitor_write("<kbrk ");
- monitor_writeHex((uint32_t)ptr);
- monitor_write(">\n");
-
if ((size_t)ptr > (size_t)&end) {
ksbrk((size_t)ptr - (size_t)mem_placementAddr);
} else {