cpu_arm64_freebsd.mx raw

   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  	prf0 := getpfr0()
  13  
  14  	parseARM64SystemRegisters(isar0, prf0)
  15  }
  16