From 20dd72e40dc2728d3c5335d860e4b8ab8da14fcc Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Mon, 25 Oct 2021 00:36:33 +0200 Subject: Changing build system to recursive make --- src/heap.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/heap.h (limited to 'src/heap.h') diff --git a/src/heap.h b/src/heap.h deleted file mode 100644 index 2f66501..0000000 --- a/src/heap.h +++ /dev/null @@ -1,23 +0,0 @@ -#include"types.h" - -typedef struct _KHEAPBLOCKBM { - struct _KHEAPBLOCKBM *next; - uint32_t size; - uint32_t used; - uint32_t bsize; - uint32_t lfb; -} KHEAPBLOCKBM; - -typedef struct _KHEAPBM { - KHEAPBLOCKBM *fblock; -} KHEAPBM; - -void k_heapBMInit(KHEAPBM *heap); -int k_heapBMAddBlock(KHEAPBM *heap, uintptr_t addr, uint32_t size, uint32_t bsize); -void *k_heapBMAlloc(KHEAPBM *heap, uint32_t size); -void k_heapBMFree(KHEAPBM *heap, void *ptr); - -extern KHEAPBM kheap; - -#define kmalloc k_heapBMAlloc -#define kfree k_heapBMFree -- cgit v1.2.3