xref: /haiku/headers/private/kernel/boot/heap.h (revision 00090d290d61b06dc60dc91e2b4d9f90f638dd22)
159eb57aeSAxel Dörfler /*
259eb57aeSAxel Dörfler ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
359eb57aeSAxel Dörfler ** Distributed under the terms of the OpenBeOS License.
459eb57aeSAxel Dörfler */
559eb57aeSAxel Dörfler #ifndef KERNEL_BOOT_HEAP_H
659eb57aeSAxel Dörfler #define KERNEL_BOOT_HEAP_H
759eb57aeSAxel Dörfler 
859eb57aeSAxel Dörfler #include <SupportDefs.h>
959eb57aeSAxel Dörfler #include <boot/stage2_args.h>
1059eb57aeSAxel Dörfler 
1159eb57aeSAxel Dörfler #ifdef __cplusplus
1259eb57aeSAxel Dörfler extern "C" {
1359eb57aeSAxel Dörfler #endif
1459eb57aeSAxel Dörfler 
15662cc71fSAxel Dörfler extern void heap_release(struct stage2_args *args);
16*00090d29SIngo Weinhold extern void heap_print_statistics();
1759eb57aeSAxel Dörfler extern status_t heap_init(struct stage2_args *args);
1859eb57aeSAxel Dörfler 
1959eb57aeSAxel Dörfler #ifdef __cplusplus
2059eb57aeSAxel Dörfler }
2159eb57aeSAxel Dörfler #endif
2259eb57aeSAxel Dörfler 
2359eb57aeSAxel Dörfler #endif	/* KERNEL_BOOT_HEAP_H */
24