The Qualcomm UEFI Secure Application that handles EFI variables seems to
authorkettenis <kettenis@openbsd.org>
Sat, 21 Jan 2023 10:34:49 +0000 (10:34 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 21 Jan 2023 10:34:49 +0000 (10:34 +0000)
commit8b8fb239a1ab405615ea2f990046a7054a419f74
tree301d036890cc85c60e70bf88ebb6bf0337eff73d
parentf86ce5abc6fd95cf0189950ea84b98ffd63fa7ca
The Qualcomm UEFI Secure Application that handles EFI variables seems to
insist on shared memory in the low 4G of the physical address space.
Use bus_dmamem_alloc_range(9) to make sure this is the case.

Makes setting and getting the RTC time reliable.

ok patrick@, deraadt@, phessler@
sys/dev/fdt/qcscm.c