HomeFreeBSD

kboot: Pull in constants from Linux's mmap.h api

Description

kboot: Pull in constants from Linux's mmap.h api

Define the usual #defines for mmap(2) (with HOST_ prepended) and use
them instead of hard coding constants.

Sponsored by: Netflix

(cherry picked from commit 01c58e7e4fd830b736c2fdcee4965e135f6e6685)

Details

Provenance
impAuthored on Jun 28 2022, 4:43 PM
Parents
rGd70add87a61e: kboot: Properly cap number of segments loaded for kexec
Branches
Unknown
Tags
Unknown