CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2022/10/20 12:43:35
Modified files: sys/arch/amd64/amd64: efi_machdep.c sys/arch/arm64/dev: efi_machdep.c Log message: Don't attempt to use EFI runtime services on UEFI versions before 2.1. The Dell Precision T1600 has a UEFI 2.0 implementation where calling GetTime() accesses memory that isn't covered by a runtime mapping. And frankly UEFI 2.0 is so ancient that we don't really want to use it anyway. This also adds the check to the arm64 version even though UEFI versions before 2.4 don't have arm64 support. But for now I want to keep amd64 and arm64 code as similar as possible. ok kn@