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:
@@ -12,7 +12,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void heap_release(void);
|
extern void heap_release(struct stage2_args *args);
|
||||||
extern status_t heap_init(struct stage2_args *args);
|
extern status_t heap_init(struct stage2_args *args);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ extern void panic(const char *format, ...);
|
|||||||
extern void dprintf(const char *format, ...);
|
extern void dprintf(const char *format, ...);
|
||||||
|
|
||||||
/* heap functions */
|
/* 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);
|
extern status_t platform_init_heap(struct stage2_args *args, void **_base, void **_top);
|
||||||
|
|
||||||
/* misc functions */
|
/* misc functions */
|
||||||
|
|||||||
@@ -5,10 +5,13 @@
|
|||||||
#ifndef KERNEL_BOOT_STAGE2_ARGS_H
|
#ifndef KERNEL_BOOT_STAGE2_ARGS_H
|
||||||
#define KERNEL_BOOT_STAGE2_ARGS_H
|
#define KERNEL_BOOT_STAGE2_ARGS_H
|
||||||
|
|
||||||
|
|
||||||
#include <SupportDefs.h>
|
#include <SupportDefs.h>
|
||||||
#include <platform_stage2_args.h>
|
#include <platform_stage2_args.h>
|
||||||
|
|
||||||
|
|
||||||
typedef struct stage2_args {
|
typedef struct stage2_args {
|
||||||
|
size_t heap_size;
|
||||||
struct platform_stage2_args platform;
|
struct platform_stage2_args platform;
|
||||||
} stage2_args ;
|
} stage2_args ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user