deprecate kmalloc_int()
#include <kernel/util/mutex/mutex.h>
#include <kernel/interrupts/interrupts.h>
#include <kernel/util/multitasking/tasks/task.h>
+#include <kernel/assert.h>
#define PAGE_SIZE 0x1000 /* 4kb page */
@@ -23,6 +24,7 @@ static uint32_t used_bytes;
//increments placement_address if there is no heap
//otherwise, pass through to heap with given options
void* kmalloc_int(uint32_t sz, int align, uint32_t* phys) {
+ Deprecated();
//if the heap already exists, pass through
if (kheap) {
void* addr = alloc(sz, (uint8_t)align, kheap);
@@ -513,4 +515,3 @@ void memdebug() {
uint32_t used_mem() {
return used_bytes;
}
-
