HomeFreeBSD

loader: always set media size from partition.

Description

loader: always set media size from partition.

The disk access is validated by using partition table definitions, therefore
we have no need for if statements, just set the disk size.

Of course the partition table itself may be incorrect/inconsistent, but if
so, we are in trouble anyhow.

Differential Revision: https://reviews.freebsd.org/D17822

Details

Provenance
tsoomeAuthored on Nov 7 2018, 11:14 AM
Parents
rGa0e4ca397e73: Add the (untested) mips and sparc64 .init call sequences.
Branches
Unknown
Tags
Unknown

Event Timeline