Added dummy bios_ia32 boot loader bindings to be able to build the loader
under x86 as well. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4483 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1 +1,11 @@
|
|||||||
SubDir OBOS_TOP src kernel boot platform bios_ia32 ;
|
SubDir OBOS_TOP src kernel boot platform bios_ia32 ;
|
||||||
|
|
||||||
|
SubDirHdrs $(OBOS_TOP) headers private kernel boot platform $(OBOS_BOOT_PLATFORM) ;
|
||||||
|
|
||||||
|
KernelMergeObject boot_platform_bios_ia32.o :
|
||||||
|
<$(SOURCE_GRIST)>start.c
|
||||||
|
:
|
||||||
|
;
|
||||||
|
|
||||||
|
SEARCH on [ FGristFiles crt0.S ]
|
||||||
|
= [ FDirName $(OBOS_TOP) src kernel boot arch $(OBOS_ARCH) ] ;
|
||||||
|
|||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <SupportDefs.h>
|
||||||
|
#include <boot/platform.h>
|
||||||
|
#include <boot/heap.h>
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
|
void _start(void);
|
||||||
|
|
||||||
|
|
||||||
|
// dummy implementations
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
panic(const char *format, ...)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
dprintf(const char *format, ...)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
status_t
|
||||||
|
platform_get_boot_devices(struct stage2_args *args, struct list *devicesList)
|
||||||
|
{
|
||||||
|
return B_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
platform_release_heap(void *base)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
status_t
|
||||||
|
platform_init_heap(struct stage2_args *args, void **_base, void **_top)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
_start(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user