HomeFreeBSD

efirtc: Pass a dummy tmcap pointer to efi_get_time_locked

Description

efirtc: Pass a dummy tmcap pointer to efi_get_time_locked

As noted in the comment, UEFI spec claims the capabilities pointer is
optional, but some implementations will choke and attempt to dereference it
without checking. This specific problem was found on a Lenovo Thinkpad X220
that would panic in efirtc_identify.

Details

Provenance
kevansAuthored on
Parents
rS330842: Use C99 designated initializers for struct execsw
Branches
Unknown
Tags
Unknown