The boot loader test now builds again fine.
Removed -fcheck-memory-usage for now. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10211 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -48,10 +48,9 @@ ObjectsDefines
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
|
||||
if $(OS) = "LINUX" {
|
||||
# SubDirC++Flags -include /usr/include/stdio.h ;
|
||||
} else {
|
||||
# SubDirC++Flags -include /boot/develop/headers/posix/stdio.h ;
|
||||
SubDirC++Flags $(defines) -DHAVE_READ_POS=1 -fcheck-memory-usage -D_NO_INLINE_ASM ;
|
||||
#SubDirC++Flags $(defines) -DHAVE_READ_POS=1 -fcheck-memory-usage -D_NO_INLINE_ASM ;
|
||||
SubDirC++Flags $(defines) -DHAVE_READ_POS=1 -D_NO_INLINE_ASM ;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,6 +80,7 @@ SimpleTest BootLoaderTest :
|
||||
apple.cpp
|
||||
intel.cpp
|
||||
PartitionMap.cpp
|
||||
PartitionMapParser.cpp
|
||||
|
||||
# utility functions - Dano has a strlcpy() function in libroot.so, while R5 has not
|
||||
list.c
|
||||
@@ -112,7 +112,7 @@ SEARCH on [ FGristFiles amiga_rdb.cpp ]
|
||||
SEARCH on [ FGristFiles apple.cpp ]
|
||||
= [ FDirName $(OBOS_TOP) src add-ons kernel partitioning_systems apple ] ;
|
||||
|
||||
SEARCH on [ FGristFiles intel.cpp PartitionMap.cpp ]
|
||||
SEARCH on [ FGristFiles intel.cpp PartitionMap.cpp PartitionMapParser.cpp ]
|
||||
= [ FDirName $(OBOS_TOP) src add-ons kernel partitioning_systems intel ] ;
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
* Copyright 2003-2004, Axel Dörfler, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
|
||||
#include "Handle.h"
|
||||
@@ -116,3 +116,9 @@ platform_add_block_devices(struct stage2_args *args, NodeList *list)
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
platform_register_boot_device(Node *device)
|
||||
{
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
* Copyright 2003-2004, Axel Dörfler, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
|
||||
#include <boot/platform.h>
|
||||
@@ -14,6 +14,14 @@ extern "C" int boot_main(struct stage2_args *args);
|
||||
extern struct kernel_args gKernelArgs;
|
||||
|
||||
|
||||
void
|
||||
platform_exit(void)
|
||||
{
|
||||
puts("*** exit ***\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
platform_start_kernel(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user