Added a platform_register_boot_device() stub function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10908 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
#include <boot/platform.h>
|
#include <boot/platform.h>
|
||||||
#include <boot/vfs.h>
|
#include <boot/vfs.h>
|
||||||
#include <boot/stdio.h>
|
#include <boot/stdio.h>
|
||||||
|
#include <boot/stage2.h>
|
||||||
#include <util/kernel_cpp.h>
|
#include <util/kernel_cpp.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@@ -224,3 +225,15 @@ platform_add_block_devices(stage2_args *args, NodeList *devicesList)
|
|||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
status_t
|
||||||
|
platform_register_boot_device(Node *device)
|
||||||
|
{
|
||||||
|
disk_identifier &disk = gKernelArgs.boot_disk.identifier;
|
||||||
|
|
||||||
|
disk.bus_type = UNKNOWN_BUS;
|
||||||
|
disk.device_type = UNKNOWN_DEVICE;
|
||||||
|
disk.device.unknown.size = device->Size();
|
||||||
|
|
||||||
|
return B_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user