Source file src/internal/cpu/cpu_arm64_freebsd.go

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

View as plain text