Modified PANIC function

This commit is contained in:
Cetica Marco
2021-01-05 18:43:59 +01:00
parent 4299b3806c
commit dc3803491e
12 changed files with 608 additions and 53 deletions

View File

@@ -1,6 +1,6 @@
#include "kheap.h"
#include "paging.h"
#include "../libc/assert.h"
#include "../libc/panic.h"
extern uint32_t end;
uint32_t placement_addr = (uint32_t)&end;
@@ -326,4 +326,4 @@ void free(void *p, heap_t *heap) {
// If required by the user, add that block to the structure
if(add_to_free_hole == 1)
insert_ordered_array((void*)head, &heap->index);
}
}