HomeFreeBSD

Only return a mapped address from efi_phys_to_kva

Description

Only return a mapped address from efi_phys_to_kva

On some hardware the EFI system table is not in memory mapped in the
DMAP section. Rather than panic the kernel check if it is mapped and
return a failure if not from efi_phys_to_kva.

Reported by: kevans
Differential Revision: https://reviews.freebsd.org/D34858

Details

Provenance
andrewAuthored on Apr 9 2022, 11:43 AM
Differential Revision
D34858: Only return a mapped address from efi_phys_to_kva
Parents
rG57e47ae514b6: Include the EFI Runtime Code in the DMAP
Branches
Unknown
Tags
Unknown