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 26static bool sBlockDevicesAdded = false; 27 28 29// #pragma mark - 30 31 32status_t 33platform_add_boot_device(struct stage2_args *args, NodeList *devicesList) 34{ 35 return B_UNSUPPORTED; 36} 37 38 39status_t 40platform_get_boot_partitions(struct stage2_args *args, Node *device, 41 NodeList *list, NodeList *partitionList) 42{ 43 return B_ENTRY_NOT_FOUND; 44} 45 46 47status_t 48platform_add_block_devices(stage2_args *args, NodeList *devicesList) 49{ 50 return B_UNSUPPORTED; 51} 52 53 54status_t 55platform_register_boot_device(Node *device) 56{ 57 return B_UNSUPPORTED; 58} 59 60 61void 62platform_cleanup_devices() 63{ 64} 65