use the -newos toolchain even if -elf is present.
[newos.git] / include / kernel / heap.h
blob2ecbc79e409e141a537c54029af56a934f6b7d29
1 /*
2 ** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
5 #ifndef _KERNEL_HEAP_H
6 #define _KERNEL_HEAP_H
8 #include <kernel/kernel.h>
9 #include <boot/stage2.h>
11 int heap_init(addr_t new_heap_base, unsigned int new_heap_size);
12 int heap_init_postsem(kernel_args *ka);
13 void *kmalloc(unsigned int size);
14 void kfree(void *address);
15 char *kstrdup(const char*text);
16 #endif