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  
    13  	parseARM64SystemRegisters(isar0)
    14  }
    15  

View as plain text