Instead of testing MIDR values for every model of Cortex processor check
authorjsg <jsg@openbsd.org>
Sun, 31 Jul 2016 03:49:51 +0000 (03:49 +0000)
committerjsg <jsg@openbsd.org>
Sun, 31 Jul 2016 03:49:51 +0000 (03:49 +0000)
commit5c16aadc17c35c0c3722e5d392da3edae73a9889
tree3819c964f74d05d98431836234e3d98e691da962
parent30099399cde9f417d738a33cfcbe8e3d722fb3d3
Instead of testing MIDR values for every model of Cortex processor check
MMFR0 for an ARMv7 VMSA MMU that can handle short descriptors when
setting ARMv7 function pointers.  ARMv8 in AArch32 mode is documented to
set the same bits.

ok patrick@
sys/arch/arm/arm/cpufunc.c
sys/arch/arm/include/armreg.h