aboutsummaryrefslogtreecommitdiff
path: root/include/08.heap/heap28.c
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2022-05-30 00:10:05 +0200
committerAleksa Vučković <aleksav013@gmail.com>2022-05-30 10:22:10 +0200
commitc45a7d924b10d9cc69a48896f7a6c99ecbf56493 (patch)
tree0fd94d340c8b9bb909b048b1ba33eea69c602464 /include/08.heap/heap28.c
parentfe14916f60fe94db918a238d5d26ce2b0ed70e7e (diff)
\small u \smallsizeHEADmaster
Diffstat (limited to 'include/08.heap/heap28.c')
-rw-r--r--include/08.heap/heap28.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/08.heap/heap28.c b/include/08.heap/heap28.c
index 22972f4..de767a2 100644
--- a/include/08.heap/heap28.c
+++ b/include/08.heap/heap28.c
@@ -1,4 +1,4 @@
-void *kmalloc(uint32_t size)
+int kheapaddblock(uintptr_t addr,uint32_t size,uint32_t bsize)
{
- return k_heapBMAlloc(&kheap,size);
+ return k_heapBMAddBlock(&kheap,addr,size,bsize);
}