HomeFreeBSD

Use the correct size when checking an EFI address

Description

Use the correct size when checking an EFI address

Use the correct page size macro when checking if an address is with
the EFI runtime map. This would previously work correctly when the
page size is 4k. With a larger page size it may incorrectly detect
memory as within the map when it's not.

Reported by: imp
Sponsored by: Innovate UK

Details

Provenance
andrewAuthored on Sep 9 2022, 7:42 AM
Parents
rG20adba8bc1be: src.conf: Introduce WITHOUT_MACHDEP knob.
Branches
Unknown
Tags
Unknown