diff options
Diffstat (limited to 'kernel/heap.c')
| -rw-r--r-- | kernel/heap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/heap.c b/kernel/heap.c index bb18fb4..bfe3302 100644 --- a/kernel/heap.c +++ b/kernel/heap.c @@ -44,3 +44,8 @@ void *kmalloc_ap(size_t sz, void **phys) { return kmalloc_int(sz, 1, phys); } + +void kmalloc_set_addr(uint32_t addr) +{ + kmalloc_addr = addr; +} |