haiku/headers
Jessica Hamilton 8d95ce0977 loader: fetch all potential boot partitions for device
This also keeps the functionality of hrev53848, which simplifies the
list of disks searched for bootable partitions; however, it maintains
the previous behaviour of platform_get_boot_partitions that continues
to iterate over a list of possible boot partitions, which should
allow finding a bootable BFS partition better in more circumstances.

Particularly, there are numerous reports of the UEFI loader entering
the boot menu despite it finding a bootable partition, which this
should address.

EFI's device_contains_partition is also structured such that it
compares the disk GPT table of the partition the loader is
querying of the EFI disk's GPT table, in the case that there are
multiple disks, as the most reliable method of comparison, with
a generic fallback for non-GPT disks, which will be less reliable.

This reverts commit 0d932a49ad.

Change-Id: I5fac8608035d56b8bb4dc6c3d495ec6db42fa9b7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4149
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
(cherry picked from commit 62f80a2a71)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4028
2021-07-05 20:57:53 +00:00
..
build
compatibility
config
cpp
glibc
libs
os version: Add BETA_3 and PRE_BETA_4 constraints. 2021-06-21 11:35:47 -05:00
posix
private loader: fetch all potential boot partitions for device 2021-07-05 20:57:53 +00:00
tools