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

Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D27669

Details

Provenance
kevansAuthored on Dec 27 2020, 5:26 PM
Reviewer
kib
Differential Revision
D27669: efirt: enter runtime environment to deref efi_cfgtbl
Parents
rG0861c7d3e048: kern: efirt: enter runtime environment to deref efi_cfgtbl
Branches
Unknown
Tags
Unknown