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 5package runtime 6 7import "internal/cpu" 8 9func 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} 17