mirror of
https://review.haiku-os.org/haiku
synced 2025-01-20 05:21:28 +01:00
52a3801208
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
18 lines
453 B
C
Executable File
18 lines
453 B
C
Executable File
/*
|
|
** 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 */
|