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:
parent
8e31b79dc8
commit
58ff5e1763
@ -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) ] ;
|
||||
|
55
src/kernel/boot/platform/bios_ia32/start.c
Normal file
55
src/kernel/boot/platform/bios_ia32/start.c
Normal 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)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user