Export the ID_AA64ISARn_EL1 registers to userspace through sysctl(2) such
authorkettenis <kettenis@openbsd.org>
Wed, 23 Mar 2022 23:36:35 +0000 (23:36 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 23 Mar 2022 23:36:35 +0000 (23:36 +0000)
commitd335af936b9d7dd9cf655cae1ce19560c45de6c8
treee58d0a852e81a0be4ff99572246004a730fec17a
parentcf11bf561452dcc2b1aba2ad364365be39148c27
Export the ID_AA64ISARn_EL1 registers to userspace through sysctl(2) such
that we can detect which instruction set extensions are supported without
relying in catching SIGILL.

ok deraadt@
sys/arch/arm64/arm64/cpu.c
sys/arch/arm64/arm64/machdep.c
sys/arch/arm64/include/cpu.h