1 /*
2 * Copyright 2008-2010, François Revol, revol@free.fr. All rights reserved.
3 * Copyright 2003-2006, Axel Dörfler, axeld@pinc-software.de.
4 * Distributed under the terms of the MIT License.
5 */
6
7
8 #include <KernelExport.h>
9 #include <boot/platform.h>
10 #include <boot/partitions.h>
11 #include <boot/stdio.h>
12 #include <boot/stage2.h>
13
14 #include <string.h>
15
16 #include "nextrom.h"
17
18 //#define TRACE_DEVICES
19 #ifdef TRACE_DEVICES
20 # define TRACE(x) dprintf x
21 #else
22 # define TRACE(x) ;
23 #endif
24
25
26 static bool sBlockDevicesAdded = false;
27
28
29 // #pragma mark -
30
31
32 status_t
platform_add_boot_device(struct stage2_args * args,NodeList * devicesList)33 platform_add_boot_device(struct stage2_args *args, NodeList *devicesList)
34 {
35 return B_UNSUPPORTED;
36 }
37
38
39 status_t
platform_get_boot_partitions(struct stage2_args * args,Node * device,NodeList * list,NodeList * partitionList)40 platform_get_boot_partitions(struct stage2_args *args, Node *device,
41 NodeList *list, NodeList *partitionList)
42 {
43 return B_ENTRY_NOT_FOUND;
44 }
45
46
47 status_t
platform_add_block_devices(stage2_args * args,NodeList * devicesList)48 platform_add_block_devices(stage2_args *args, NodeList *devicesList)
49 {
50 return B_UNSUPPORTED;
51 }
52
53
54 status_t
platform_register_boot_device(Node * device)55 platform_register_boot_device(Node *device)
56 {
57 return B_UNSUPPORTED;
58 }
59
60
61 void
platform_cleanup_devices()62 platform_cleanup_devices()
63 {
64 }
65