heap size is now part of stage2_args.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4961 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-10-07 22:10:55 +00:00
parent bf25fe99f6
commit 662cc71f2c
3 changed files with 5 additions and 2 deletions

View File

@ -12,7 +12,7 @@
extern "C" {
#endif
extern void heap_release(void);
extern void heap_release(struct stage2_args *args);
extern status_t heap_init(struct stage2_args *args);
#ifdef __cplusplus

View File

@ -21,7 +21,7 @@ extern void panic(const char *format, ...);
extern void dprintf(const char *format, ...);
/* heap functions */
extern void platform_release_heap(void *base);
extern void platform_release_heap(struct stage2_args *args, void *base);
extern status_t platform_init_heap(struct stage2_args *args, void **_base, void **_top);
/* misc functions */

View File

@ -5,10 +5,13 @@
#ifndef KERNEL_BOOT_STAGE2_ARGS_H
#define KERNEL_BOOT_STAGE2_ARGS_H
#include <SupportDefs.h>
#include <platform_stage2_args.h>
typedef struct stage2_args {
size_t heap_size;
struct platform_stage2_args platform;
} stage2_args ;