xref: /haiku/src/tests/system/boot/loader/platform_misc.cpp (revision 17889a8c70dbb3d59c1412f6431968753c767bab)
1 /*
2  * Copyright 2003-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 
7 #include <boot/platform.h>
8 
9 
10 extern bool gShowMenu;
11 
12 
13 uint32
14 platform_boot_options(void)
15 {
16 	return gShowMenu ? BOOT_OPTION_MENU: 0;
17 }
18 
19 
20 status_t
21 platform_init_video(void)
22 {
23 	return B_OK;
24 }
25 
26 
27 void
28 platform_switch_to_logo(void)
29 {
30 }
31 
32 
33 void
34 platform_switch_to_text_mode(void)
35 {
36 }
37 
38 
39 //	#pragma mark -
40 
41 
42 extern "C" status_t
43 boot_arch_elf_relocate_rel(struct preloaded_image *image, Elf32_Rel *rel,
44 	int rel_len)
45 {
46 	return B_ERROR;
47 }
48 
49 
50 extern "C" status_t
51 boot_arch_elf_relocate_rela(struct preloaded_image *image, Elf32_Rela *rel,
52 	int rel_len)
53 {
54 	return B_ERROR;
55 }
56