HomeFreeBSD

loader: Add loader.exit

Description

loader: Add loader.exit

Add loader.exit(status). While one can get alomst this behavior with
loader.perform("quit"), quit doesn't allow a value to be returned to the
firmware. The interpretation of 'status' is firmware specific. This can
be used when autobooting doesn't work in scripts, for example, to allow
the firmware to try something else...

Sponsored by: Netflix

Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D44094

Details

Provenance
impAuthored on Feb 27 2024, 3:19 AM
Reviewer
kevans
Differential Revision
D44094: loader: Add loader.exit
Parents
rG8bfb23abf882: pcm.4: Fix lint warnings
Branches
Unknown
Tags
Unknown