Debian Codegraph @

libgo/go/runtime/os_linux_arm.go

raw
1 // Copyright 2009 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 package runtime
6
7 import "internal/cpu"
8
9 func archauxv(tag, val uintptr) {
10 switch tag {
11 case _AT_HWCAP:
12 cpu.HWCap = uint(val)
13 case _AT_HWCAP2:
14 cpu.HWCap2 = uint(val)
15 }
16 }