Modified PANIC function
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user