github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/internal/cpu/cpu_arm.go (about) 1 // Copyright 2017 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 cpu 6 7 const CacheLinePadSize = 32 8 9 // arm doesn't have a 'cpuid' equivalent, so we rely on HWCAP/HWCAP2. 10 // These are initialized by archauxv() and should not be changed after they are 11 // initialized. 12 var HWCap uint 13 var HWCap2 uint 14 var Platform string