haiku/headers/private/kernel/memheap.h
Axel Dörfler 564cba312e Some header work: removed unnecessary dependencies to stage2.h, fixed
some broken C++ export definitions, added missing licenses etc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:03:26 +00:00

20 lines
398 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>
struct kernel_args;
#define HEAP_SIZE 0x00400000
// 4 MB heap for the kernel
int heap_init(addr new_heap_base);
int heap_init_postsem(struct kernel_args *ka);
#endif /* _KERNEL_MEMHEAP_H */