HomeFreeBSD

stand: userboot: allow building on !x86

Description

stand: userboot: allow building on !x86

We can still get plenty of use out of a userboot that doesn't know
anything about how to load or boot a kernel; notably, the test harness
in tools/boot can still be used to test lua changes.

Hack out the necessary bits to simply build on other platforms, and add
a small warning with ample time to view the warning on other platforms.
We still won't build userboot by default on these platforms, since the
build product isn't useful for most people.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D41529

Details

Provenance
kevansAuthored on Jun 18 2025, 6:42 PM
Reviewer
imp
Differential Revision
D41529: userboot: allow building on !x86
Parents
rG0452f5f7b37a: audit: move the wait from the queue length from the commit to alloc
Branches
Unknown
Tags
Unknown