CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/07/22 05:51:30
Modified files:
sys/arch/armv7/stand/efiboot: conf.c exec.c
Log message:
Disable caches and MMU before jumping to the kernel entry point. Needed
because UEFI on 32-bit ARM is supposed to leave them enabled and U-boot
was changed (starting with release 2019.04) to follow the spec here. However
the OpenBSD/armv7 kernel expects to be booted with caches and MMU turned off.
Note that there are still issues on boards that enable the non-architected
L2 cache. UEFI demands that such caches are not turned on, but U-Boot
does turn them on and this makes our kernel fail to boot.
With help from jsg@
ok jsg@