diff options
author | jsing <> | 2024-11-08 13:34:24 +0000 |
---|---|---|
committer | jsing <> | 2024-11-08 13:34:24 +0000 |
commit | f631c6b6c7297cc0d3ef18ebf1277dc9b7d3d70d (patch) | |
tree | 21d180efdc7bb015f190011aada458b9e8a920db /src/lib/libc | |
parent | 699f5c2e0bf9095e5e50dc5a5fc7753e50f3f154 (diff) | |
download | openbsd-f631c6b6c7297cc0d3ef18ebf1277dc9b7d3d70d.tar.gz openbsd-f631c6b6c7297cc0d3ef18ebf1277dc9b7d3d70d.tar.bz2 openbsd-f631c6b6c7297cc0d3ef18ebf1277dc9b7d3d70d.zip |
Replace aarch64 CPU capabilities detection code.
Replace the aarch64 CPU detection code with a version that parses ISAR0,
avoiding signal handling and SIGILL. This gets ISAR0 via sysctl(), but this
can be adapted to other mechanisms for other platforms (or alternatively
the same can be achieved via HWCAP).
This now follows the same naming/design as used by amd64 and i386, hence
define HAVE_CRYPTO_CPU_CAPS_INIT for aarch64.
ok kettenis@ tb@
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions