aboutsummaryrefslogtreecommitdiff
path: root/include/08.heap/heap11.c
diff options
context:
space:
mode:
Diffstat (limited to 'include/08.heap/heap11.c')
-rw-r--r--include/08.heap/heap11.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/08.heap/heap11.c b/include/08.heap/heap11.c
new file mode 100644
index 0000000..90d72d6
--- /dev/null
+++ b/include/08.heap/heap11.c
@@ -0,0 +1,8 @@
+void *k_heapBMAlloc(KHEAPBM *heap, uint32_t size)
+{
+ KHEAPBLOCKBM *b;
+ uint8_t *bm;
+ uint32_t bcnt;
+ uint32_t x, y, z;
+ uint32_t bneed;
+ uint8_t nid;