Page MenuHomeFreeBSD

loader.efi: efipart should be more careful about constructing block device lists
ClosedPublic

Authored by tsoome on Aug 8 2019, 3:55 PM.
Tags
None
Referenced Files
F81701200: D21187.diff
Sat, Apr 20, 4:13 AM
Unknown Object (File)
Dec 22 2023, 11:24 PM
Unknown Object (File)
Dec 13 2023, 1:40 AM
Unknown Object (File)
Sep 23 2023, 5:31 PM
Unknown Object (File)
Aug 12 2023, 9:35 AM
Unknown Object (File)
Jun 26 2023, 11:13 PM
Unknown Object (File)
Jun 19 2023, 9:13 PM
Unknown Object (File)
Jun 15 2023, 7:17 PM
Subscribers

Details

Summary

The cd handles should be collected as list of partitions. Some systems also provide base name for block device (like PciRoot(0x0)/Pci(0x5,0x0)), we need to be careful about those.

To make out life a bit easier, we prepare not just an array of handles, but we allocate pdinfo struct for each handle and devicepath, then we can simplify our work to sort the devices.

Test Plan

Tested with vmware fusion and bhyve.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable