github.com/SandwichDev/go-internals@v0.0.0-20210605002614-12311ac6b2c5/cpu/cpu_arm64_other.go (about) 1 // Copyright 2020 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build arm64 6 // +build !linux 7 // +build !freebsd 8 // +build !android 9 // +build !darwin ios 10 11 package cpu 12 13 func osInit() { 14 // Other operating systems do not support reading HWCap from auxiliary vector, 15 // reading privileged aarch64 system registers or sysctl in user space to detect 16 // CPU features at runtime. 17 }