2003-06-24 21:22:11 +04:00
|
|
|
/*
|
|
|
|
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
|
|
|
#ifndef KERNEL_BOOT_PLATFORM_H
|
|
|
|
#define KERNEL_BOOT_PLATFORM_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <SupportDefs.h>
|
2003-09-09 06:10:15 +04:00
|
|
|
#include <util/list.h>
|
2003-06-24 21:22:11 +04:00
|
|
|
|
|
|
|
|
|
|
|
struct stage2_args;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern void panic(const char *format, ...);
|
2003-09-03 21:08:08 +04:00
|
|
|
extern void dprintf(const char *format, ...);
|
|
|
|
|
2003-06-24 21:22:11 +04:00
|
|
|
extern status_t platform_get_boot_devices(struct stage2_args *args, struct list *devicesList);
|
|
|
|
extern void platform_release_heap(void *base);
|
|
|
|
extern status_t platform_init_heap(struct stage2_args *args, void **_base, void **_top);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* KERNEL_BOOT_PLATFORM_H */
|