HomeFreeBSD

kboot: Use is_linux_error to check mmap return error

Description

kboot: Use is_linux_error to check mmap return error

Rather than checking against the (incorrect) -511, use the
is_linux_error() function to check to see if host_mmap failed.

Sponsored by: Netflix

Details

Provenance
impAuthored on Mar 11 2024, 8:15 PM
Parents
rGa9cd3b675e24: kboot: Print UEFI memory map
Branches
Unknown
Tags
Unknown