HomeFreeBSD

kern: efirt: correct configuration table entry size

Description

kern: efirt: correct configuration table entry size

Each entry actually stores a native pointer, not a uint64_t quantity. While
we're here, go ahead and export the pointer as-is rather than converting it
to KVA. This may be more useful as consumers can map /dev/mem and observe
the entry.

For reference, see: sys/contrib/edk2/Include/Uefi/UefiSpec.h

(cherry picked from commit ee938b20335d26ca652deac4a1a063e90cafa303)

Details

Provenance
kevansAuthored on Dec 27 2020, 5:26 PM
Parents
rG63882ce21586: kern: efirt: enter runtime environment to deref efi_cfgtbl
Branches
Unknown
Tags
Unknown