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:
Axel Dörfler 2003-09-03 20:11:48 +00:00
parent 8e31b79dc8
commit 58ff5e1763
2 changed files with 65 additions and 0 deletions

View File

@ -1 +1,11 @@
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) ] ;

View File

@ -0,0 +1,55 @@
/*
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. 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)
{
}