Keep the `clamp memory to what pmap can address' logic unconditional, and use a <machine/pte.h> define to figure out what the pmap limit is.
Keep the `clamp memory to what pmap can address' logic unconditional, and
use a <machine/pte.h> define to figure out what the pmap limit is.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars