platform_get_boot_partition() will now also get the boot device as parameter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7284 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -45,8 +45,8 @@ namespace boot {
|
|||||||
// these functions have to be implemented in C++
|
// these functions have to be implemented in C++
|
||||||
extern status_t platform_get_boot_device(struct stage2_args *args, Node **_device);
|
extern status_t platform_get_boot_device(struct stage2_args *args, Node **_device);
|
||||||
extern status_t platform_add_block_devices(struct stage2_args *args, NodeList *devicesList);
|
extern status_t platform_add_block_devices(struct stage2_args *args, NodeList *devicesList);
|
||||||
extern status_t platform_get_boot_partition(struct stage2_args *args, NodeList *partitions,
|
extern status_t platform_get_boot_partition(struct stage2_args *args, Node *bootDevice,
|
||||||
boot::Partition **_partition);
|
NodeList *partitions, boot::Partition **_partition);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ get_boot_file_system(stage2_args *args)
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
Partition *partition;
|
Partition *partition;
|
||||||
if (platform_get_boot_partition(args, &gPartitions, &partition) < B_OK)
|
if (platform_get_boot_partition(args, device, &gPartitions, &partition) < B_OK)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
Directory *fileSystem;
|
Directory *fileSystem;
|
||||||
|
|||||||
Reference in New Issue
Block a user