#include <global.h>
#include <types/nums.h>
Go to the source code of this file.
◆ HEAP_SIZE
#define HEAP_SIZE (512 * 1024) |
◆ HEAP_START
#define HEAP_START ((char *)0x100000) |
◆ blocK_t
◆ Kfree()
Free allocated memory.
- Parameters
-
voifd* | - Pointer to allocated memory (from Kmalloc) |
Definition at line 75 of file alloc.c.
◆ KheapInit()
Initialize Memory Heap.
Definition at line 35 of file alloc.c.
◆ Kmalloc()
Allocate memory.
- Parameters
-
Size | - Size of memory to allocate |
Align | - Which to align memory to |
- Returns
- Pointer to allocated memory
Definition at line 48 of file alloc.c.