Updated the dummy implementation to match the changed platform API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4888 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -4,6 +4,7 @@ SubDirHdrs $(OBOS_TOP) headers private kernel boot platform $(OBOS_BOOT_PLATFORM
|
||||
|
||||
KernelMergeObject boot_platform_bios_ia32.o :
|
||||
<$(SOURCE_GRIST)>start.c
|
||||
<$(SOURCE_GRIST)>devices.cpp
|
||||
:
|
||||
;
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
|
||||
|
||||
#include <boot/platform.h>
|
||||
|
||||
|
||||
status_t
|
||||
platform_get_boot_device(struct stage2_args *args, Node **_device)
|
||||
{
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
platform_get_boot_partition(struct stage2_args *args, struct list *list,
|
||||
boot::Partition **_partition)
|
||||
{
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
platform_add_block_devices(stage2_args *args, list *devicesList)
|
||||
{
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
extern int boot(stage2_args *args);
|
||||
extern int main(stage2_args *args);
|
||||
void _start(void);
|
||||
|
||||
|
||||
@@ -34,10 +34,10 @@ dprintf(const char *format, ...)
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
platform_get_boot_devices(struct stage2_args *args, struct list *devicesList)
|
||||
bool
|
||||
platform_user_menu_requested(void)
|
||||
{
|
||||
return B_OK;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,6 +56,6 @@ platform_init_heap(struct stage2_args *args, void **_base, void **_top)
|
||||
void
|
||||
_start(void)
|
||||
{
|
||||
boot(NULL);
|
||||
main(NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user