2018-09-24 21:46:21 +00:00
|
|
|
// Copyright 2016 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.
|
|
|
|
|
|
|
|
package runtime
|
|
|
|
|
|
|
|
import "internal/cpu"
|
|
|
|
|
|
|
|
func archauxv(tag, val uintptr) {
|
|
|
|
switch tag {
|
2020-12-23 09:57:37 -08:00
|
|
|
case _AT_HWCAP:
|
|
|
|
cpu.HWCap = uint(val)
|
2018-09-24 21:46:21 +00:00
|
|
|
}
|
|
|
|
}
|