aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/paging/kheap.c
diff options
context:
space:
mode:
authorMarvin Borner2019-10-02 20:01:17 +0200
committerMarvin Borner2019-10-02 20:01:17 +0200
commit3238ced93283a167675f20244ec9fd6310eb8002 (patch)
tree288078ca30e9e4b5d5ba9a178315cb5ee9f6a2d8 /src/kernel/paging/kheap.c
parent682c47a98844ffec3f3129160e9cdb98ba129989 (diff)
Finally fixed VESA auto resolution finder
This was quite hard and strange but it works now!
Diffstat (limited to 'src/kernel/paging/kheap.c')
-rw-r--r--src/kernel/paging/kheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/paging/kheap.c b/src/kernel/paging/kheap.c
index 13f8ab2..2004cb8 100644
--- a/src/kernel/paging/kheap.c
+++ b/src/kernel/paging/kheap.c
@@ -21,7 +21,7 @@ void init_kheap() {
}
void *fmalloc(unsigned int size) {
- //assert(placement_address + size < MEM_END);
+ assert(placement_address + size < MEM_END);
unsigned int hold = placement_address;
memory_set((void *) hold, 0, size);
placement_address += size;