summaryrefslogtreecommitdiffstats
path: root/src/internal/cpu/cpu_arm64_freebsd.go
blob: 96ed359ca0b339e0805e3ba35370e3f7a600f4b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build arm64

package cpu

func osInit() {
	// Retrieve info from system register ID_AA64ISAR0_EL1.
	isar0 := getisar0()

	parseARM64SystemRegisters(isar0)
}