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
F103458872: D21187.diff
Mon, Nov 25, 7:29 AM
Unknown Object (File)
Thu, Nov 14, 7:47 PM
Unknown Object (File)
Mon, Nov 11, 12:45 AM
Unknown Object (File)
Oct 19 2024, 12:24 AM
Unknown Object (File)
Oct 16 2024, 8:06 AM
Unknown Object (File)
Oct 7 2024, 12:19 AM
Unknown Object (File)
Sep 29 2024, 11:34 PM
Unknown Object (File)
Sep 28 2024, 4:14 AM
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