mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 03:06:08 +01:00
18 lines
453 B
C
18 lines
453 B
C
|
/*
|
||
|
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||
|
** Distributed under the terms of the NewOS License.
|
||
|
*/
|
||
|
#ifndef _KERNEL_MEMHEAP_H
|
||
|
#define _KERNEL_MEMHEAP_H
|
||
|
|
||
|
#include <kernel.h>
|
||
|
#include <stage2.h>
|
||
|
|
||
|
int heap_init(addr new_heap_base, unsigned int new_heap_size);
|
||
|
int heap_init_postsem(kernel_args *ka);
|
||
|
void *kmalloc(unsigned int size);
|
||
|
void kfree(void *address);
|
||
|
char *kstrdup(const char*text);
|
||
|
|
||
|
#endif /* _KERNEL_MEMHEAP_H */
|