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:
Axel Dörfler
2004-04-21 11:10:32 +00:00
parent 4c03f90f63
commit 4eedc697c3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ namespace boot {
// 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_add_block_devices(struct stage2_args *args, NodeList *devicesList);
extern status_t platform_get_boot_partition(struct stage2_args *args, NodeList *partitions,
boot::Partition **_partition);
extern status_t platform_get_boot_partition(struct stage2_args *args, Node *bootDevice,
NodeList *partitions, boot::Partition **_partition);
#endif
+1 -1
View File
@@ -313,7 +313,7 @@ get_boot_file_system(stage2_args *args)
return NULL;
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;
Directory *fileSystem;