github.com/JimmyHuang454/JLS-go@v0.0.0-20230831150107-90d536585ba0/cpu/cpu_arm64_freebsd.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 //go:build arm64 6 7 package cpu 8 9 func osInit() { 10 // Retrieve info from system register ID_AA64ISAR0_EL1. 11 isar0 := getisar0() 12 13 parseARM64SystemRegisters(isar0) 14 }