1// Copyright 2018 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 7const ( 8 // vdsoArrayMax is the byte-size of a maximally sized array on this architecture. 9 // See cmd/compile/internal/arm/galign.go arch.MAXWIDTH initialization, but must also 10 // be constrained to max +ve int. 11 vdsoArrayMax = 1<<31 - 1 12) 13 14var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6", 0x3ae75f6} 15 16var vdsoSymbolKeys = []vdsoSymbolKey{ 17 {"__vdso_clock_gettime", 0xd35ec75, 0x6e43a318, &vdsoClockgettimeSym}, 18} 19 20// initialize to fall back to syscall 21var vdsoClockgettimeSym uintptr = 0 22